File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change 1- name : Go test
1+ name : Go Tests
22
33on :
44 push :
5- workflow_dispatch :
6-
7- permissions :
8- contents : read
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
98
109jobs :
1110 test :
11+ name : Run Tests
1212 runs-on : ubuntu-latest
1313
1414 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
15+ - uses : actions/checkout@v5
16+
17+ - name : Set up Go
18+ 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
1925
20- - name : Run go test
21- run : nix develop --command go test ./...
26+ - name : Run tests
27+ run : go test ./...
You can’t perform that action at this time.
0 commit comments