We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed41ac7 commit f5401ecCopy full SHA for f5401ec
1 file changed
.github/workflows/test.yaml
@@ -1,21 +1,27 @@
1
-name: Go test
+name: Go Tests
2
3
on:
4
push:
5
- workflow_dispatch:
6
-
7
-permissions:
8
- contents: read
+ branches: [main]
+ pull_request:
9
10
jobs:
11
test:
+ name: Run Tests
12
runs-on: ubuntu-latest
13
14
steps:
15
- - uses: actions/checkout@v4
16
- - uses: DeterminateSystems/flake-checker-action@main
17
- - uses: DeterminateSystems/determinate-nix-action@main
18
- - uses: DeterminateSystems/flakehub-cache-action@main
+ - uses: actions/checkout@v5
+
+ - name: Set up Go
+ uses: actions/setup-go@v5
19
+ with:
20
+ go-version-file: "go.mod"
21
+ cache: true
22
23
+ - name: Install dependencies
24
+ run: go mod download
25
- - name: Run go test
- run: nix develop --command go test ./...
26
+ - name: Run tests
27
+ run: go test ./...
0 commit comments