Skip to content

Commit

Permalink
use the upload-artifact and download-artifact actions to share data b…
Browse files Browse the repository at this point in the history
…etween jobs
  • Loading branch information
Dennis Lee committed Mar 5, 2024
1 parent 8d2be86 commit 2a6ea6f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pylint-github-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
with:
without-hashes: true
outfile-name: requirements.txt
- name: Upload requirements.txt
uses: actions/upload-artifact@v4
with:
name: requirements_txt
path: requirements.txt

lint:
needs: export-requirements-txt
Expand All @@ -37,6 +42,11 @@ jobs:
# - name: Export requirements.txt
# run: poetry export -f requirements.txt --output requirements.txt

- name: Download requirements-txt
uses: actions/download-artifact@v4
with:
name: requirements_txt

- name: Lint with PyLint
uses: Silleellie/pylint-github-action@v2
with:
Expand Down

0 comments on commit 2a6ea6f

Please sign in to comment.