Skip to content

Commit ccbcdab

Browse files
committed
chore: refresh template
1 parent 43b9a89 commit ccbcdab

4 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,32 @@ jobs:
1515
# Only ubuntu allows for docker support - https://docs.github.com/en/actions/using-containerized-services/about-service-containers
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v6
18+
- uses: actions/checkout@v6
1919

20-
- name: Set up Go
21-
uses: actions/setup-go@v6
22-
with:
23-
go-version: '1.26'
20+
- name: Set up Go
21+
uses: actions/setup-go@v6
22+
with:
23+
go-version: '1.26'
2424

25-
- name: Build
26-
run: go build -v ./...
27-
- name: Test
28-
run: make test
29-
- name: Checks
30-
run: |
31-
make checks
25+
- name: Build
26+
run: go build -v ./...
27+
- name: Test
28+
run: make test
29+
- name: Checks
30+
run: |
31+
make checks
3232
33-
# platforms:
34-
# runs-on: ${{ matrix.os }}
35-
# strategy:
36-
# matrix:
37-
# os:
38-
# - "windows-latest"
39-
# - "macos-latest"
40-
# steps:
41-
# - uses: actions/checkout@v4.2.2
42-
# - uses: actions/setup-go@v5.3.0
43-
# with:
44-
# go-version: '1.24'
45-
# - name: Test
46-
# run: make short-test
33+
# platforms:
34+
# runs-on: ${{ matrix.os }}
35+
# strategy:
36+
# matrix:
37+
# os:
38+
# - "windows-latest"
39+
# - "macos-latest"
40+
# steps:
41+
# - uses: actions/checkout@v6
42+
# - uses: actions/setup-go@v6
43+
# with:
44+
# go-version: '1.26'
45+
# - name: Test
46+
# run: make test

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
2929
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
3030
# Version should be the same as in the Makefile
31-
version: v2.11.4
31+
version: v2.12.2
3232

3333
# Optional: working directory, useful for monorepos
3434
# working-directory: somedir

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ checks: check_tidy check_vuln check_modern
3434

3535
.PHONY: check_vuln
3636
check_vuln:
37-
go run golang.org/x/vuln/cmd/govulncheck@v1.1.4 ./...
37+
go run golang.org/x/vuln/cmd/govulncheck@v1.3.0 ./...
3838
# if we use more tools, we can switch to go tool -modfile=tools.mod
3939
# there is good discussion at https://news.ycombinator.com/item?id=42845323
4040

@@ -63,4 +63,4 @@ tools/golangci-lint: tools
6363
# We install golangci-lint as recommended in the docs. See the same docs for a discussion about go run and
6464
# go get -tool alternatives - https://golangci-lint.run/docs/welcome/install/ .
6565
# Delete tools/golangci-lint if this target is updated (may be automated in the future)
66-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b ./tools v2.11.4
66+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b ./tools v2.12.2

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/sclgo/template
22

3-
go 1.26.2
3+
go 1.26
44

55
require github.com/stretchr/testify v1.11.1
66

0 commit comments

Comments
 (0)