build(deps): Bump actions/upload-artifact from 2 to 3 (#11584)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
d80c64c9fa
commit
83f5ecf2e7
|
@ -67,19 +67,19 @@ jobs:
|
||||||
- name: Split pkgs into 4 files
|
- name: Split pkgs into 4 files
|
||||||
run: split -d -n l/4 pkgs.txt pkgs.txt.part.
|
run: split -d -n l/4 pkgs.txt pkgs.txt.part.
|
||||||
# cache multiple
|
# cache multiple
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-00"
|
name: "${{ github.sha }}-00"
|
||||||
path: ./pkgs.txt.part.00
|
path: ./pkgs.txt.part.00
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-01"
|
name: "${{ github.sha }}-01"
|
||||||
path: ./pkgs.txt.part.01
|
path: ./pkgs.txt.part.01
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-02"
|
name: "${{ github.sha }}-02"
|
||||||
path: ./pkgs.txt.part.02
|
path: ./pkgs.txt.part.02
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-03"
|
name: "${{ github.sha }}-03"
|
||||||
path: ./pkgs.txt.part.03
|
path: ./pkgs.txt.part.03
|
||||||
|
@ -110,7 +110,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -timeout 30m -race -tags='cgo ledger test_ledger_mock'
|
xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -timeout 30m -race -tags='cgo ledger test_ledger_mock'
|
||||||
if: env.GIT_DIFF
|
if: env.GIT_DIFF
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-${{ matrix.part }}-race-output"
|
name: "${{ github.sha }}-${{ matrix.part }}-race-output"
|
||||||
path: ./${{ matrix.part }}-race-output.txt
|
path: ./${{ matrix.part }}-race-output.txt
|
||||||
|
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
# GIT_DIFF is passed to the scripts
|
# GIT_DIFF is passed to the scripts
|
||||||
run: bash scripts/module-tests.sh
|
run: bash scripts/module-tests.sh
|
||||||
if: env.GIT_DIFF
|
if: env.GIT_DIFF
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-go-submodules-coverage"
|
name: "${{ github.sha }}-go-submodules-coverage"
|
||||||
path: ./coverage-go-submod-profile.out
|
path: ./coverage-go-submod-profile.out
|
||||||
|
@ -77,19 +77,19 @@ jobs:
|
||||||
- name: Split pkgs into 4 files
|
- name: Split pkgs into 4 files
|
||||||
run: split -d -n l/4 pkgs.txt pkgs.txt.part.
|
run: split -d -n l/4 pkgs.txt pkgs.txt.part.
|
||||||
# cache multiple
|
# cache multiple
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-00"
|
name: "${{ github.sha }}-00"
|
||||||
path: ./pkgs.txt.part.00
|
path: ./pkgs.txt.part.00
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-01"
|
name: "${{ github.sha }}-01"
|
||||||
path: ./pkgs.txt.part.01
|
path: ./pkgs.txt.part.01
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-02"
|
name: "${{ github.sha }}-02"
|
||||||
path: ./pkgs.txt.part.02
|
path: ./pkgs.txt.part.02
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-03"
|
name: "${{ github.sha }}-03"
|
||||||
path: ./pkgs.txt.part.03
|
path: ./pkgs.txt.part.03
|
||||||
|
@ -120,7 +120,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 30m -coverprofile=${{ matrix.part }}profile.out -covermode=atomic -tags='norace ledger test_ledger_mock'
|
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 30m -coverprofile=${{ matrix.part }}profile.out -covermode=atomic -tags='norace ledger test_ledger_mock'
|
||||||
if: env.GIT_DIFF
|
if: env.GIT_DIFF
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ github.sha }}-${{ matrix.part }}-coverage"
|
name: "${{ github.sha }}-${{ matrix.part }}-coverage"
|
||||||
path: ./${{ matrix.part }}profile.out
|
path: ./${{ matrix.part }}profile.out
|
||||||
|
|
Loading…
Reference in New Issue