Skip to content

Commit

Permalink
ci: update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Mar 1, 2024
1 parent 11f35cb commit 2ee709b
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/actions/process-test-state/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-bitcoin/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-clightning/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-itest/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
steps:
- name: Cache itest
id: cache-itest
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-lnd-client/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-lnd-lsp/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/test-lspd/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -108,7 +108,7 @@ runs:

- name: Cache itest
id: cache-itest
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ 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
with:
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
Expand All @@ -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
Expand All @@ -51,35 +51,35 @@ 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
with:
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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 2ee709b

Please sign in to comment.