-
Notifications
You must be signed in to change notification settings - Fork 1
70 lines (70 loc) · 1.53 KB
/
Copy pathci.yml
File metadata and controls
70 lines (70 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# NOTE: CI is currently run locally via `make ci`. Re-enable when ready to
# move back to GitHub Actions.
#
# name: CI
#
# on:
# push:
# branches: [main]
# pull_request:
# branches: [main]
# workflow_dispatch:
#
# permissions:
# contents: read
#
# jobs:
# test:
# name: Test (Go ${{ matrix.go-version }})
# runs-on: ubuntu-latest
# strategy:
# matrix:
# go-version: ["1.25"]
# steps:
# - uses: actions/checkout@v4
#
# - uses: actions/setup-go@v5
# with:
# go-version: ${{ matrix.go-version }}
#
# - name: Download dependencies
# run: go mod download
#
# - name: Run tests
# run: go test ./... -race -timeout 60s
#
# - name: Vet
# run: go vet ./...
#
# lint:
# name: Lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
#
# - uses: actions/setup-go@v5
# with:
# go-version: "1.25"
#
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v6
# with:
# version: v1.64.8
# install-mode: goinstall
#
# build:
# name: Build
# runs-on: ubuntu-latest
# needs: [test, lint]
# steps:
# - uses: actions/checkout@v4
#
# - uses: actions/setup-go@v5
# with:
# go-version: "1.25"
#
# - name: Build binary
# run: go build -ldflags "-X main.Version=$(git describe --tags --always --dirty)" -o cmdvault ./cmd/cmdvault
#
# - name: Verify binary runs
# run: ./cmdvault --version