Skip to content

Commit

Permalink
ci: fix github actions for linting step (upgrade actions)
Browse files Browse the repository at this point in the history
Signed-off-by: ATTY Lionel <[email protected]>
  • Loading branch information
ATTY Lionel committed Aug 8, 2024
1 parent 2caaa62 commit 03f7c58
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9.5
python-version: '3.10'
- name: Resolve poetry dependency
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 1.1.4
uses: Gr1N/setup-poetry@v8
- name: Poetry version
run: poetry --version
- name: Install project dependencies
run: poetry install
- name: Configure git to use https:// instead of git://
run: git config --global url."https://".insteadOf git://
- name: Lint
run: poetry run pre-commit run -a

Expand Down

0 comments on commit 03f7c58

Please sign in to comment.