mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-11-05 17:07:29 +00:00
Update GitHub Actions in CI Workflows (#384)
* Update abi.yml * Update cc.yml * Update rust.yml * Update tests.yml
This commit is contained in:
parent
9a1edae9a2
commit
55087eac7f
6
.github/workflows/abi.yml
vendored
6
.github/workflows/abi.yml
vendored
@ -12,14 +12,14 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Clone current repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Get the Git revision from the current repository
|
||||
id: get-rev
|
||||
run: echo "rev=$(cat ./storage-contracts-abis/0g-storage-contracts-rev)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Clone another repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
repository: '0glabs/0g-storage-contracts'
|
||||
path: '0g-storage-contracts'
|
||||
@ -45,4 +45,4 @@ jobs:
|
||||
|
||||
- name: Compare files
|
||||
run: |
|
||||
./scripts/check_abis.sh ./0g-storage-contracts/artifacts/
|
||||
./scripts/check_abis.sh ./0g-storage-contracts/artifacts/
|
||||
|
||||
4
.github/workflows/cc.yml
vendored
4
.github/workflows/cc.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
swap-storage: true
|
||||
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
@ -57,4 +57,4 @@ jobs:
|
||||
# Disable to avoid CI failure as following:
|
||||
# ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage
|
||||
# URL during POST: 404 - {'detail': ErrorDetail(string='Could not find a repository, try using repo upload token', code='not_found')}
|
||||
# fail_ci_if_error: true
|
||||
# fail_ci_if_error: true
|
||||
|
||||
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup Rust (cache & toolchain)
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup Rust (cache & toolchain)
|
||||
@ -53,7 +53,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup Rust (cache & toolchain)
|
||||
@ -69,4 +69,4 @@ jobs:
|
||||
command: clippy
|
||||
# blocks_in_conditions is triggered for tracing::instrument.
|
||||
# This can be removed after the fix is released.
|
||||
args: -- -D warnings
|
||||
args: -- -D warnings
|
||||
|
||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
swap-storage: true
|
||||
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
@ -66,4 +66,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test_logs
|
||||
path: /tmp/zgs_test_*
|
||||
path: /tmp/zgs_test_*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user