Bump action versions

This commit is contained in:
Jerry 2024-09-20 19:17:07 -07:00
parent 352fb8adfa
commit a2dec4bed0
No known key found for this signature in database
GPG key ID: 5B33FA23CB103211

View file

@ -22,7 +22,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
@ -54,7 +54,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
@ -82,7 +82,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
@ -107,7 +107,7 @@ jobs:
- name: Test
run: make test
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: unitTest-coverage
path: cover.out
@ -133,7 +133,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
@ -146,7 +146,7 @@ jobs:
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
@ -158,7 +158,7 @@ jobs:
- name: test-integration
run: make test-integration
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: integrationTest-coverage
path: cover.out
@ -172,9 +172,9 @@ jobs:
needs: [unit-tests, integration-tests]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
@ -185,7 +185,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: bor
- name: Checkout submodules
@ -199,7 +199,7 @@ jobs:
go-version: 1.22.x
- name: Checkout matic-cli
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: maticnetwork/matic-cli
ref: master
@ -258,7 +258,7 @@ jobs:
- name: Upload logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs_${{ github.run_id }}
path: |
@ -277,7 +277,7 @@ jobs:
- name: Upload code and chain data
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code_${{ github.run_id }}
path: code.tar.gz