Skip to content

Commit

Permalink
Update ci.yaml (#12)
Browse files Browse the repository at this point in the history
switch to  actions/checkout@v3 from v2
switch to  actions/setup-python@v4 from v2
address another deprecation in GitHub Actions

Co-authored-by: Scott K Logan <logans@cottsay.net>
  • Loading branch information
mosfet80 and cottsay committed Aug 28, 2023
1 parent c72ceb3 commit 641cfdf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ jobs:
strategy: ${{steps.load.outputs.strategy}}

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

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

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# Choose colcon-notification for a canary build. It has colcon
# dependencies and debian patches, so exercieses a fair amount of the
# CI action features.
repository: colcon/colcon-notification
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: colcon_ci
- uses: ./colcon_ci/

0 comments on commit 641cfdf

Please sign in to comment.