workflows: update versions of the actions

This commit is contained in:
yyforyongyu 2025-03-05 04:03:15 +08:00
parent d7aa8e5f89
commit d9e3077ad7
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868
2 changed files with 25 additions and 16 deletions

View file

@ -23,7 +23,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Docker Setup Buildx
id: buildx

View file

@ -13,12 +13,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Check out source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build
run: make build
@ -28,46 +28,55 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Check out source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Test
run: make unit-cover
- name: Send top-level coverage
uses: shogo82148/actions-goveralls@v1
uses: coverallsapp/github-action@v2
continue-on-error: true
with:
path-to-profile: coverage.txt
file: coverage.txt
flag-name: btcd
format: 'golang'
parallel: true
- name: Send btcec
uses: shogo82148/actions-goveralls@v1
uses: coverallsapp/github-action@v2
continue-on-error: true
with:
path-to-profile: btcec/coverage.txt
file: btcec/coverage.txt
flag-name: btcec
format: 'golang'
parallel: true
- name: Send btcutil coverage
uses: shogo82148/actions-goveralls@v1
uses: coverallsapp/github-action@v2
continue-on-error: true
with:
path-to-profile: btcutil/coverage.txt
file: btcutil/coverage.txt
flag-name: btcutil
format: 'golang'
parallel: true
- name: Send btcutil coverage for psbt package
uses: shogo82148/actions-goveralls@v1
uses: coverallsapp/github-action@v2
continue-on-error: true
with:
path-to-profile: btcutil/psbt/coverage.txt
file: btcutil/psbt/coverage.txt
flag-name: btcutilpsbt
format: 'golang'
parallel: true
- name: Notify coveralls all reports sent
uses: shogo82148/actions-goveralls@v1
uses: coverallsapp/github-action@v2
continue-on-error: true
with:
parallel-finished: true
@ -76,12 +85,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Check out source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Test
run: make unit-race