Skip to content

Commit

Permalink
ci: Update all actions to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakuje committed Feb 7, 2023
1 parent 1b2ab29 commit 9581294
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master
with:
skip: ./src/tests/fuzzing/corpus,compat_*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-linux.sh
- run: ./bootstrap
- run: ./configure --disable-dependency-tracking
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
container:
image: fedora:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-fedora.sh
- run: .github/build.sh dist

Expand All @@ -31,6 +31,6 @@ jobs:
container:
image: fedora:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-fedora.sh ix86
- run: .github/build.sh ix86
60 changes: 30 additions & 30 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-linux.sh
- run: .github/build.sh dist
- name: Upload test logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: ubuntu-test-logs
path:
tests/*.log
- uses: actions/cache@v2
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
key: ${{ runner.os }}-${{ github.sha }}
- name: Upload build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: opensc-build
path:
Expand All @@ -46,25 +46,25 @@ jobs:
build-no-shared:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-linux.sh
- run: .github/build.sh no-shared

build-ix86:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-linux.sh ix86
- run: .github/build.sh ix86

build-mingw:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-linux.sh mingw
- run: .github/build.sh mingw
- name: Cache build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: opensc-build-mingw
path:
Expand All @@ -73,11 +73,11 @@ jobs:
build-mingw32:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-linux.sh mingw32
- run: .github/build.sh mingw32
- name: Cache build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: opensc-build-mingw32
path:
Expand All @@ -87,8 +87,8 @@ jobs:
runs-on: ubuntu-20.04
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
Expand All @@ -100,8 +100,8 @@ jobs:
runs-on: ubuntu-20.04
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
Expand All @@ -126,8 +126,8 @@ jobs:
runs-on: ubuntu-20.04
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
Expand All @@ -139,8 +139,8 @@ jobs:
runs-on: ubuntu-20.04
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
Expand All @@ -152,8 +152,8 @@ jobs:
runs-on: ubuntu-20.04
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
Expand All @@ -165,8 +165,8 @@ jobs:
runs-on: ubuntu-20.04
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
Expand All @@ -178,8 +178,8 @@ jobs:
runs-on: ubuntu-20.04
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
Expand All @@ -202,14 +202,14 @@ jobs:
name: ubuntu-22-test-logs
path:
tests/*.log
- uses: actions/cache@v2
- uses: actions/cache@v3
id: cache-build
if: ${{ success() }}
with:
path: ./*
key: ${{ runner.os }}-22-${{ github.sha }}
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: ${{ success() }}
with:
name: opensc-build
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
path: |
tests/test-suite.log
config.log
- uses: actions/cache@v2
- uses: actions/cache@v3
id: cache-build
if: ${{ success() }}
with:
Expand Down Expand Up @@ -298,14 +298,14 @@ jobs:
runs-on: ubuntu-latest
needs: [build, build-mingw]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache-build
with:
path: ./*
key: ${{ runner.os }}-${{ github.sha }}
- name: Pull mingw build artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: opensc-build-mingw
- run: git config --global user.email "[email protected]"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: .github/setup-macos.sh
env:
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
Expand All @@ -33,7 +33,7 @@ jobs:
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }}
INSTALLER_SIGN_IDENTITY: ${{ secrets.INSTALLER_SIGN_IDENTITY }}
- name: Cache build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: opensc-build-macos
path:
Expand All @@ -47,9 +47,9 @@ jobs:
runs-on: macos-latest
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Pull build artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: opensc-build-macos
- run: git config --global user.email "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0
- uses: packit/actions/srpm@main
- name: Upload build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: opensc-srpm
path:
Expand All @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0
- uses: ./.github/actions/packit
- name: Upload build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: opensc-rpm
path:
Expand Down

0 comments on commit 9581294

Please sign in to comment.