Skip to content

Commit

Permalink
chore: Bump versions of github actions
Browse files Browse the repository at this point in the history
To avoid deprecation warnings
  • Loading branch information
alcroito committed Apr 23, 2024
1 parent 11c8a6c commit 1deaec8
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
38 changes: 19 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ jobs:
release: true
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: '${{ runner.os }}-cargo-registry-v2-${{ hashFiles(''**/Cargo.lock'') }}'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-target-checks-${{ hashFiles('**/Cargo.lock') }}
Expand Down Expand Up @@ -145,15 +145,15 @@ jobs:
release: true
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: '${{ runner.os }}-cargo-registry-v2-${{ hashFiles(''**/Cargo.lock'') }}'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-target-test-${{ hashFiles('**/Cargo.lock') }}
Expand Down Expand Up @@ -228,15 +228,15 @@ jobs:
release: true
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: '${{ runner.os }}-cargo-registry-v2-${{ hashFiles(''**/Cargo.lock'') }}'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-target-checks-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -261,12 +261,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 19
node-version: 20
cache: npm
cache-dependency-path: 'webclients/svelte/package-lock.json'

Expand All @@ -283,12 +283,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 19
node-version: 20
cache: npm
cache-dependency-path: 'webclients/svelte/package-lock.json'

Expand Down Expand Up @@ -383,10 +383,10 @@ jobs:
features: web
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
if: matrix.cross == true
with:
path: |
Expand All @@ -395,7 +395,7 @@ jobs:
key: '${{ runner.os }}-cargo-registry-v2-${{ hashFiles(''**/Cargo.lock'') }}'

- name: Cache target folder
uses: actions/cache@v3
uses: actions/cache@v4
if: matrix.cross == true
with:
path: target
Expand All @@ -420,7 +420,7 @@ jobs:
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
if: matrix.features == 'web'
with:
node-version: 19
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker_containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
os: ubuntu-latest
docker_architecture: "linux/arm/v7"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# https://stackoverflow.com/a/73783567/603646
# https://github.com/docker/buildx/issues/495#issuecomment-918925854
- name: Set up QEMU
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
needs: [build_containers]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Login to DockerHub
if: matrix.registry == 'docker.io'
uses: docker/login-action@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Create artifacts directory
run: mkdir artifacts
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
if: matrix.cross == true
with:
path: |
Expand All @@ -83,7 +83,7 @@ jobs:
key: '${{ runner.os }}-cargo-registry-v2-${{ hashFiles(''**/Cargo.lock'') }}'

- name: Cache target folder
uses: actions/cache@v3
uses: actions/cache@v4
if: matrix.cross == true
with:
path: target
Expand All @@ -105,7 +105,7 @@ jobs:
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 19
cache: npm
Expand Down

0 comments on commit 1deaec8

Please sign in to comment.