Skip to content

Commit

Permalink
CI: Fix github actions warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
thedataking committed Mar 17, 2024
1 parent 60a93c5 commit 87c02d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build-and-test-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
packages: g++-aarch64-linux-gnu libc6-dev-arm64-cross
version: 1.0 # version of cache to load
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: set up qemu
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- name: cache rust dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -32,11 +32,6 @@ jobs:
~/.cargo/git/db/
target/
key: aarch64-unknown-linux-gnu-cargo-and-target-${{ hashFiles('**/Cargo.lock') }}
# - name: cache dav1d object files
# uses: actions/cache@v3
# with:
# path: build/
# key: aarch64-unknown-linux-gnu-c-object-files-${{ hashFiles('**/meson.build', '**/*.c', '**/*.h') }}
- name: cargo build for aarch64-unknown-linux-gnu
run: |
rustup target add aarch64-unknown-linux-gnu
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cargo-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: cache rust toolchain
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.rustup/toolchains
~/.rustup/update-hashes
~/.rustup/settings.toml
key: ${{ runner.os }}-rust-toolchain-${{ hashFiles('rust-toolchain', 'rust-toolchain.toml') }}
- name: cache rust crates
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down

0 comments on commit 87c02d7

Please sign in to comment.