Merge pull request #1 from taigrr/cd/modernize

chore: modernize Go 1.20→1.26, update deps, add CI
This commit is contained in:
2026-02-23 14:42:41 -05:00
committed by GitHub
3 changed files with 21 additions and 4 deletions

17
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Test
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go test -race ./...
- run: go vet ./...
- run: go build ./...

4
go.mod
View File

@@ -1,5 +1,5 @@
module github.com/taigrr/vidnumerator
go 1.20
go 1.26.0
require golang.org/x/sys v0.9.0
require golang.org/x/sys v0.41.0

4
go.sum
View File

@@ -1,2 +1,2 @@
golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s=
golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k=
golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=