Skip to content

Commit

Permalink
refactor: use actions/checkout@v4 instead of v2
Browse files Browse the repository at this point in the history
  • Loading branch information
KevFan committed Oct 13, 2023
1 parent f228dfe commit 7181914
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Add latest tag
if: ${{ github.ref_name == env.MAIN_BRANCH_NAME }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: abelfodil/protoc-action@v1
with:
Expand All @@ -32,7 +32,7 @@ jobs:
USER: username
PASS: password
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: supercharge/[email protected]
with:
redis-version: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build Limitador Image
id: build-image
uses: redhat-actions/buildah-build@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: supercharge/[email protected]
with:
redis-version: 5
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: crate-v${{ github.event.inputs.version }}
- name: Build
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: abelfodil/protoc-action@v1
with:
Expand All @@ -35,7 +35,7 @@ jobs:
USER: username
PASS: password
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: supercharge/[email protected]
with:
redis-version: 5
Expand All @@ -49,7 +49,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check
Expand All @@ -59,7 +59,7 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: rustup component add clippy
- uses: abelfodil/protoc-action@v1
Expand All @@ -71,7 +71,7 @@ jobs:
name: Bench
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: supercharge/[email protected]
with:
redis-version: 5
Expand All @@ -85,7 +85,7 @@ jobs:
name: Build for WASM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: rustup target add wasm32-unknown-unknown
- run: cargo build --target=wasm32-unknown-unknown --no-default-features --lib --manifest-path ./limitador/Cargo.toml
Expand Down

0 comments on commit 7181914

Please sign in to comment.