mirror of
https://github.com/aljazceru/lspd.git
synced 2026-01-07 16:14:28 +01:00
ci: update actions versions
This commit is contained in:
@@ -29,7 +29,7 @@ runs:
|
||||
if: env.exists == 'true'
|
||||
|
||||
- name: Upload test_state as artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.artifact-name }}
|
||||
path: ${{ inputs.test-state-path }}.tar.gz
|
||||
|
||||
2
.github/actions/setup-bitcoin/action.yaml
vendored
2
.github/actions/setup-bitcoin/action.yaml
vendored
@@ -9,7 +9,7 @@ runs:
|
||||
steps:
|
||||
- name: Cache Bitcoin Core
|
||||
id: cache-bitcoin
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/bitcoin-core-${{ inputs.bitcoin-version }}/bitcoin-${{ inputs.bitcoin-version }}/bin/bitcoind
|
||||
|
||||
4
.github/actions/setup-clightning/action.yaml
vendored
4
.github/actions/setup-clightning/action.yaml
vendored
@@ -12,7 +12,7 @@ runs:
|
||||
steps:
|
||||
- name: Cache Core Lightning
|
||||
id: cache-core-lightning
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
lightning_git/lightningd/lightning_hsmd
|
||||
@@ -94,7 +94,7 @@ runs:
|
||||
|
||||
- name: Checkout and build lightning
|
||||
if: steps.cache-core-lightning.outputs.cache-hit != 'true'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ElementsProject/lightning
|
||||
ref: ${{ inputs.checkout-version }}
|
||||
|
||||
2
.github/actions/setup-itest/action.yaml
vendored
2
.github/actions/setup-itest/action.yaml
vendored
@@ -5,7 +5,7 @@ runs:
|
||||
steps:
|
||||
- name: Cache itest
|
||||
id: cache-itest
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/go
|
||||
|
||||
4
.github/actions/setup-lnd-client/action.yaml
vendored
4
.github/actions/setup-lnd-client/action.yaml
vendored
@@ -17,7 +17,7 @@ runs:
|
||||
steps:
|
||||
- name: Cache LND client
|
||||
id: cache-lnd-client
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/go_lnd_client/bin/lnd
|
||||
@@ -31,7 +31,7 @@ runs:
|
||||
|
||||
- name: Checkout LND for Client
|
||||
if: steps.cache-lnd-client.outputs.cache-hit != 'true'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: breez/lnd
|
||||
ref: ${{ inputs.client-ref }}
|
||||
|
||||
4
.github/actions/setup-lnd-lsp/action.yaml
vendored
4
.github/actions/setup-lnd-lsp/action.yaml
vendored
@@ -17,7 +17,7 @@ runs:
|
||||
steps:
|
||||
- name: Cache LND LSP
|
||||
id: cache-lnd-lsp
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/go_lnd_lsp/bin/lnd
|
||||
@@ -31,7 +31,7 @@ runs:
|
||||
|
||||
- name: Checkout LND for LSP
|
||||
if: steps.cache-lnd-lsp.outputs.cache-hit != 'true'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: breez/lnd
|
||||
ref: ${{ inputs.lsp-ref }}
|
||||
|
||||
10
.github/actions/test-lspd/action.yaml
vendored
10
.github/actions/test-lspd/action.yaml
vendored
@@ -41,19 +41,19 @@ runs:
|
||||
shell: bash
|
||||
|
||||
- name: Cache LND client
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/go_lnd_client/bin/lnd
|
||||
key: go_lnd_client-${{ inputs.CLIENT_REF }}-${{ inputs.GO_VERSION }}
|
||||
|
||||
- name: Cache LND LSP
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/go_lnd_lsp/bin/lnd
|
||||
key: go_lnd_lsp-${{ inputs.LSP_REF }}-${{ inputs.GO_VERSION }}
|
||||
|
||||
- name: Cache Core Lightning
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
lightning_git/lightningd/lightning_hsmd
|
||||
@@ -99,7 +99,7 @@ runs:
|
||||
key: core-lightning-${{ inputs.CLN_VERSION }}
|
||||
|
||||
- name: Cache Bitcoin Core
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/bitcoin-core-${{ inputs.bitcoin-version }}/bitcoin-${{ inputs.bitcoin-version }}/bin/bitcoind
|
||||
@@ -108,7 +108,7 @@ runs:
|
||||
|
||||
- name: Cache itest
|
||||
id: cache-itest
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/go
|
||||
|
||||
36
.github/workflows/integration_tests.yaml
vendored
36
.github/workflows/integration_tests.yaml
vendored
@@ -16,10 +16,10 @@ concurrency:
|
||||
jobs:
|
||||
|
||||
setup-bitcoin-core:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Bitcoin Core
|
||||
uses: ./.github/actions/setup-bitcoin
|
||||
@@ -27,10 +27,10 @@ jobs:
|
||||
bitcoin-version: ${{ env.BITCOIN_VERSION }}
|
||||
|
||||
setup-lnd-lsp:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up LND LSP
|
||||
uses: ./.github/actions/setup-lnd-lsp
|
||||
@@ -39,10 +39,10 @@ jobs:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
|
||||
setup-lnd-client:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up LND client
|
||||
uses: ./.github/actions/setup-lnd-client
|
||||
@@ -51,10 +51,10 @@ jobs:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
|
||||
setup-cln:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Core Lightning
|
||||
uses: ./.github/actions/setup-clightning
|
||||
@@ -62,24 +62,24 @@ jobs:
|
||||
checkout-version: ${{ env.CLN_VERSION }}
|
||||
|
||||
build-lspd:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Build LSPD and Upload Artifacts
|
||||
uses: ./.github/actions/build-lspd
|
||||
|
||||
setup-itest:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup itest
|
||||
uses: ./.github/actions/setup-itest
|
||||
|
||||
|
||||
run-test:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- setup-itest
|
||||
- setup-bitcoin-core
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run and Process Test State
|
||||
uses: ./.github/actions/test-lspd
|
||||
@@ -137,7 +137,7 @@ jobs:
|
||||
timeout: 6m
|
||||
|
||||
run-lsps2-test:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- setup-itest
|
||||
- setup-bitcoin-core
|
||||
@@ -164,7 +164,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run and Process Test State
|
||||
uses: ./.github/actions/test-lspd
|
||||
@@ -179,11 +179,11 @@ jobs:
|
||||
timeout: 6m
|
||||
|
||||
run-unit-tests:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
name: Run unit tests
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user