Skip to content

Commit fd1665a

Browse files
committed
Use explicit requirements.txt file
See actions/setup-python#807 The alternative (creating an empty file) seems worse than using an actual requirements file.
1 parent 5686272 commit fd1665a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
moz-fluent-linter~=0.4.9

.github/workflows/fluent_linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cache: 'pip'
2828
- name: Install Python dependencies
2929
run: |
30-
pip install moz-fluent-linter==0.4.9
30+
pip install -r .github/requirements.txt
3131
- name: Lint reference
3232
run: |
3333
moz-fluent-lint ./locales/en-US --config .github/fluent_linter_config.yml

0 commit comments

Comments
 (0)