Skip to content

Commit 767dc71

Browse files
ci: update GitHub Actions versions
1 parent 18954b3 commit 767dc71

4 files changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Continuous Integration Checks
22

33
on: [ push, pull_request ]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
build:
710
strategy:
@@ -23,7 +26,7 @@ jobs:
2326
runs-on: ${{ matrix.platform }}
2427
steps:
2528
- name: Checkout source code
26-
uses: actions/checkout@v3
29+
uses: actions/checkout@v6
2730
- name: Install Rust ${{ matrix.toolchain }} toolchain
2831
run: |
2932
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}

.github/workflows/check-protos.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ on:
99
- 'ldk-server-protos/**'
1010
workflow_dispatch:
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
check-protos:
1417
runs-on: ubuntu-latest
1518
steps:
1619
- name: Checkout source code
17-
uses: actions/checkout@v3
20+
uses: actions/checkout@v6
1821
- name: Install Rust stable toolchain
1922
run: |
2023
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain stable

.github/workflows/cron-weekly-rustfmt.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Nightly rustfmt
1414
runs-on: ubuntu-24.04
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
- uses: dtolnay/rust-toolchain@nightly
1818
with:
1919
components: rustfmt
@@ -23,7 +23,7 @@ jobs:
2323
- name: Get the current date
2424
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
2525
- name: Create Pull Request
26-
uses: peter-evans/create-pull-request@v7
26+
uses: peter-evans/create-pull-request@v8
2727
with:
2828
author: Fmt Bot <bot@example.com>
2929
title: Automated nightly rustfmt (${{ env.date }})

.github/workflows/integration-tests-events-rabbitmq.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Integration Tests
22

33
on: [ push, pull_request ]
44

5+
permissions:
6+
contents: read
7+
58
concurrency:
69
group: ${{ github.workflow }}-${{ github.ref }}
710
cancel-in-progress: true
@@ -26,11 +29,11 @@ jobs:
2629
2730
steps:
2831
- name: Checkout code
29-
uses: actions/checkout@v4
32+
uses: actions/checkout@v6
3033

3134
- name: Enable caching for bitcoind
3235
id: cache-bitcoind
33-
uses: actions/cache@v4
36+
uses: actions/cache@v5
3437
with:
3538
path: bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
3639
key: bitcoind-${{ runner.os }}-${{ runner.arch }}

0 commit comments

Comments
 (0)