Skip to content

Commit 2576952

Browse files
committed
Merge pull request #104 from squat/update_actions
feat(CI): update actions and sign commits
2 parents 89bbd58 + a789982 commit 2576952

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v5
19-
- uses: DeterminateSystems/nix-installer-action@v20
19+
- uses: DeterminateSystems/determinate-nix-action@v3.11.2
2020
- uses: DeterminateSystems/magic-nix-cache-action@v13
2121
- run: nix build
2222

2323
lint:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v5
27-
- uses: DeterminateSystems/nix-installer-action@v20
27+
- uses: DeterminateSystems/determinate-nix-action@v3.11.2
2828
- uses: DeterminateSystems/magic-nix-cache-action@v13
2929
- run: nix flake check -L --show-trace
3030

@@ -66,7 +66,7 @@ jobs:
6666
cache-from: type=gha
6767
cache-to: type=gha,mode=max
6868
load: "true"
69-
- uses: DeterminateSystems/nix-installer-action@v20
69+
- uses: DeterminateSystems/determinate-nix-action@v3.11.2
7070
- uses: DeterminateSystems/magic-nix-cache-action@v13
7171
- run: nix develop . --command go test -v ./...
7272

.github/workflows/update.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v5
18-
- uses: DeterminateSystems/determinate-nix-action@v3
19-
- uses: DeterminateSystems/update-flake-lock@main
18+
- uses: DeterminateSystems/determinate-nix-action@v3.11.2
19+
- uses: DeterminateSystems/update-flake-lock@v27
2020
with:
21-
pr-title: "Update Nix flake inputs" # Title of PR to be created
22-
pr-labels: | # Labels to be set on the PR
21+
pr-title: Update Nix flake inputs
22+
pr-labels: |
2323
dependencies
2424
automated
25+
sign-commits: true
26+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
27+
token: ${{ secrets.GH_TOKEN_FOR_FLAKE_LOCK_UPDATES }}

0 commit comments

Comments
 (0)