Skip to content

Commit

Permalink
ci: Update to node20 actions (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek authored May 19, 2024
1 parent 5aede32 commit d2c525a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@v3
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
cache: true
- name: Install dependencies
Expand All @@ -23,21 +25,23 @@ jobs:
pdm run python -m pip install coverage pytest-github-actions-annotate-failures
- run: pdm run robotpy coverage test
- run: pdm run coverage xml
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
use_oidc: true

mypy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@v3
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
cache: true
- name: Install dependencies
run: |
pdm install
- name: mypy
uses: liskin/gh-problem-matcher-wrap@v2
uses: liskin/gh-problem-matcher-wrap@v3
with:
linters: mypy
run: pdm run mypy --show-column-numbers .

0 comments on commit d2c525a

Please sign in to comment.