Skip to content
Open
4 changes: 2 additions & 2 deletions .github/workflows/check-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check Nix flake
on:
pull_request:
paths:
- '**.nix'
- "**.nix"
- flake.lock
push:
branches:
Expand All @@ -11,7 +11,7 @@ jobs:
check-flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check Nix flake inputs
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ name: Test and Validate
on:
push:
paths-ignore:
- '**.md'
- '.github/ISSUE_TEMPLATE/**'
- "**.md"
- ".github/ISSUE_TEMPLATE/**"
pull_request:
paths-ignore:
- '**.md'
- '.github/ISSUE_TEMPLATE/**'
- "**.md"
- ".github/ISSUE_TEMPLATE/**"

jobs:
build:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v6

- name: Set up Go 1.x
uses: actions/setup-go@v3
uses: actions/setup-go@v6
with:
go-version: ^1.18

- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Test
run: make test

Expand All @@ -31,14 +31,14 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6

- name: "Set up Go 1.x"
uses: actions/setup-go@v3
uses: actions/setup-go@v6
with:
go-version: 1.19

- name: Check out code
uses: actions/checkout@v3

- name: Lint with golanci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-flake-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
name: Update flake dependencies
on:
schedule:
- cron: '0 16 * * 5'
- cron: "0 16 * * 5"
workflow_dispatch: # for allowing manual triggers of the workflow
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Update flake.lock and create signed commit with flake.lock changes
Expand Down
Loading