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