Skip to content

Commit adc25f6

Browse files
committed
cedar-go: consolidate Github workflows
Signed-off-by: Patrick Jakubowski <patrick.jakubowski@strongdm.com>
1 parent 4b1e2a3 commit adc25f6

File tree

2 files changed

+6
-28
lines changed

2 files changed

+6
-28
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# This workflow will build a golang project
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3-
4-
name: Go
1+
name: Verify
52

63
on:
74
push:
@@ -14,15 +11,18 @@ jobs:
1411
- uses: actions/checkout@v4
1512

1613
- name: Set up Go
17-
uses: actions/setup-go@v4
14+
uses: actions/setup-go@v5
1815
with:
19-
go-version: "1.22"
16+
go-version-file: 'go.mod'
2017

2118
- name: Build
2219
run: go build -v ./...
2320

2421
- name: Test
2522
run: go test ./...
2623

24+
- name: Lint
25+
uses: golangci/golangci-lint-action@v7
26+
2727
- name: Fuzz
2828
run: mkdir -p testdata && go test -fuzz=FuzzParse -fuzztime 60s && go test -fuzz=FuzzTokenize -fuzztime 60s

.github/workflows/golangci-lint.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)