Skip to content

Commit cdbf7c0

Browse files
committed
go.mod, .github/workflows: bump Go version, add start of CI
Updates #27
1 parent 0cef98d commit cdbf7c0

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Go CI
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
14+
15+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
16+
with:
17+
go-version-file: go.mod
18+
19+
- name: build
20+
run: go install
21+
22+
- name: test
23+
run: go test ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module github.com/tailscale/mkctr
22

33
// Use point versions of Go, see https://github.com/tailscale/tailscale/pull/13485
4-
go 1.23.1
4+
go 1.25.5
55

66
require github.com/google/go-containerregistry v0.20.2
77

0 commit comments

Comments
 (0)