Skip to content

Commit

Permalink
GH-Workflow: Update 'checkout' & 'actions' for (#335)
Browse files Browse the repository at this point in the history
Signed-off-by: Shreeevatsa N <vatsa@dhiway.com>
  • Loading branch information
vatsa287 authored Feb 20, 2024
1 parent 85d2185 commit 3d6388d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci-on-pr-rustfmt-test-clippy-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1

- name: install dependencies
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler libssl-dev
Expand All @@ -36,7 +36,7 @@ jobs:
run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu

- name: cache rust toolchain and dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/
Expand All @@ -52,13 +52,13 @@ jobs:
needs: rustfmt
steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1

- name: install dependencies
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler libssl-dev

- name: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/
Expand All @@ -74,13 +74,13 @@ jobs:
needs: rustfmt
steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1

- name: install dependencies
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler libssl-dev

- name: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/
Expand All @@ -96,20 +96,18 @@ jobs:
# needs: rustfmt
# steps:
# - name: checkout repository
# uses: actions/checkout@v3

# uses: actions/checkout@v4.1.1
# - name: install dependencies
# run: sudo apt-get update && sudo apt-get install -y protobuf-compiler libssl-dev

# - name: cache
# uses: actions/cache@v3
# uses: actions/cache@v4
# with:
# path: |
# ~/.cargo/
# target/
# key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
# restore-keys: ${{ runner.os }}-rust-

# - name: cargo build
# run: rustup component add rust-src && cargo build --locked

2 changes: 1 addition & 1 deletion .github/workflows/docker-multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

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

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

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

- name: Login to DockerHub
uses: docker/login-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.1

- name: Install dependencies
run: sudo apt-get update -y && sudo apt-get install -y protobuf-compiler libssl-dev

- name: Setup Cargo cache
uses: actions/cache@v3.3.1
uses: actions/cache@v4
continue-on-error: false
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/srtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1

- name: Runner info
run: |
Expand Down

0 comments on commit 3d6388d

Please sign in to comment.