Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github actions in CI to v4 #789

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@ jobs:
- name: Go version used to build builder
run: go version
- name: Checkout coreum
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
path: coreum
- name: Checkout faucet
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: CoreumFoundation/faucet
path: faucet
- name: Checkout crust
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: CoreumFoundation/crust
path: crust
Expand All @@ -109,15 +109,15 @@ jobs:
- name: Print go version
run: echo ${{ steps.goversion.outputs.GO_VERSION }}
- name: Setup go cache
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ matrix.go-cache }}
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-${{ steps.goversion.outputs.GO_VERSION }}
- name: Setup WASM cache
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ matrix.wasm-cache }}
with:
# we need to exclude code-hashes.json from the rest, since the invalidation condition for it is not
Expand All @@ -127,7 +127,7 @@ jobs:
!/.cache/crust/wasm/code-hashes.json
key: ${{ runner.os }}-wasm-cache-${{ hashFiles('~/.cache/crust/wasm/**/*.rs') }}
- name: Setup linter cache
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ matrix.linter-cache }}
with:
path: ~/.cache/golangci-lint
Expand All @@ -144,7 +144,7 @@ jobs:
with:
key: ${{ runner.os }}-docker-v3-${{ steps.get-year-week.outputs.date }} # year-week key
- name: Setup smart contract build cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
# we need to cache code-hashes.json under the same key as the artifacts, since the invalidation condition
# for both of them are the same.
Expand Down
Loading