Skip to content

Commit

Permalink
chore: Bump actions/checkout from v2 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 authored and kornelski committed Jan 30, 2024
1 parent 25489be commit 887aa43
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
features: ['', default, gif, jpeg, png, tiff, ico, pnm, tga, webp, bmp, hdr, dxt, dds, farbfeld, openexr, jpeg_rayon, webp-encoder]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Cache Cargo Dependencies
uses: Swatinem/rust-cache@v2
Expand All @@ -40,7 +40,7 @@ jobs:
matrix:
rust: ["1.61.0", nightly, beta]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
arch: [powerpc-unknown-linux-gnu, i686-unknown-linux-gnu]
features: [default, webp-encoder]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install or use cached cross-rs/cross
uses: baptiste0928/cargo-install@v1
with:
Expand All @@ -93,7 +93,7 @@ jobs:
steps:
- name: install-dependencies
run: sudo apt update && sudo apt install nasm
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: build
run: cargo build -v --no-default-features --features="avif"
Expand All @@ -103,7 +103,7 @@ jobs:
steps:
- name: install-dependencies
run: sudo apt update && sudo apt install ninja-build meson nasm
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: build
run: cargo build -v --no-default-features --features="avif,avif-decoder"
Expand All @@ -115,7 +115,7 @@ jobs:
steps:
- name: install-dependencies
run: sudo apt update && sudo apt install ninja-build meson nasm
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
Expand All @@ -127,7 +127,7 @@ jobs:
name: "Fuzz targets (afl)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: install-deps
run: sudo apt-get -y install clang llvm
Expand All @@ -146,7 +146,7 @@ jobs:
name: "Fuzz targets (cargo-fuzz)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: build
run: |
Expand All @@ -161,7 +161,7 @@ jobs:
public_private_dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: build
run: |
Expand All @@ -173,15 +173,15 @@ jobs:
build_benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: build
run: cargo build -v --benches --features=benchmarks

rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
Expand All @@ -191,13 +191,13 @@ jobs:
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1

verify_msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install or use cached `cargo-msrv`
uses: baptiste0928/cargo-install@v1
with:
Expand Down

0 comments on commit 887aa43

Please sign in to comment.