1 parent 2e19d3d commit e43807eCopy full SHA for e43807e
1 file changed
.github/workflows/ci.yml
@@ -22,31 +22,14 @@ jobs:
22
go-version: '1.24'
23
cache-dependency-path: go.sum
24
25
- - name: Verify dependencies
26
- run: go mod verify
27
-
28
- name: Download dependencies
29
run: go mod download
30
31
- - name: Run go vet
32
- run: go vet ./...
33
34
- - name: Run go fmt check
35
- run: |
36
- if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
37
- echo "Code is not formatted. Run 'go fmt ./...'"
38
- gofmt -s -d .
39
- exit 1
40
- fi
41
42
- name: Build
43
run: |
44
CGO_ENABLED=1 go build -o autoar ./cmd/autoar
45
chmod +x autoar
46
47
- - name: Test build
48
49
- ./autoar --help || true
+ echo "Build successful!"
50
51
security:
52
runs-on: ubuntu-latest
0 commit comments