Skip to content

Commit

Permalink
Merge pull request #253 from sr-gi/202403-update-workflows
Browse files Browse the repository at this point in the history
gh-actions: updates actions to use Node.js 20
  • Loading branch information
sr-gi authored Mar 28, 2024
2 parents 56ede53 + 99dd5bb commit 21acbe0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Rust ${{ matrix.toolchain }} toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
override: true
profile: minimal
- name: Build on Rust ${{ matrix.toolchain }}
run: |
cargo build ${{ matrix.arguments }} --verbose --color always
Expand All @@ -34,12 +32,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
profile: minimal
components: rustfmt, clippy
- name: Run rustfmt
run: |
Expand All @@ -52,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run black
uses: psf/black@stable
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cln-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
cache-cln:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
check-latest: true
- name: Create CLN cache
id: cache-cln
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-cln-dev
with:
Expand All @@ -37,8 +37,8 @@ jobs:
needs: cache-cln
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
check-latest: true
Expand All @@ -49,7 +49,7 @@ jobs:
ln -s $(pwd)/bitcoin-${{ env.bitcoind_version }}/bin/bitcoin* /usr/local/bin
- name: Load CLN cache
id: cache-cln
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-cln-dev
with:
Expand Down

0 comments on commit 21acbe0

Please sign in to comment.