chore: update to node 20.x on workflows (#2364)
gets rid of deprecating warnings in actions * checkout@v4 * cache@v4 * setup-python@v5 * setup-node@v4 * codecov-action@v4 * codecov pass token from ci
This commit is contained in:
parent
b9f0af0e79
commit
cdc102af07
8 changed files with 33 additions and 20 deletions
14
.github/workflows/regtest.yml
vendored
14
.github/workflows/regtest.yml
vendored
|
|
@ -15,21 +15,24 @@ on:
|
|||
backend-wallet-class:
|
||||
required: true
|
||||
type: string
|
||||
secrets:
|
||||
CODECOV_TOKEN:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
regtest:
|
||||
runs-on: ${{ inputs.os-version }}
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
if: ${{ inputs.backend-wallet-class == 'LNbitsWallet' }}
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push
|
||||
if: ${{ inputs.backend-wallet-class == 'LNbitsWallet' }}
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: false
|
||||
|
|
@ -75,7 +78,8 @@ jobs:
|
|||
run: make test-real-wallet
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
file: ./coverage.xml
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
verbose: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue