Skip to content

Commit

Permalink
Update ci.yaml (#130)
Browse files Browse the repository at this point in the history
- use actions/checkout@v3
- use actions/setup-python@v4
- address another workflow deprecation in GitHub Actions

Co-authored-by: Scott K Logan <[email protected]>
  • Loading branch information
mosfet80 and cottsay authored Oct 4, 2023
1 parent ea1b691 commit 76f5bf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ jobs:
strategy: ${{steps.load.outputs.strategy}}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: colcon/ci
- id: load
run: echo "::set-output name=strategy::$(echo $(cat strategy.json))"
run: echo "strategy=$(echo $(cat strategy.json))" >> $GITHUB_OUTPUT

pytest:
needs: [setup]
strategy: ${{fromJson(needs.setup.outputs.strategy)}}
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}
- uses: colcon/ci@v1

0 comments on commit 76f5bf2

Please sign in to comment.