Skip to content

Commit

Permalink
feat: use go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jun 1, 2024
1 parent b58abe1 commit adf3c2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: build
on:
push:
branches:
- 'main'
- "main"
tags:
- 'v*'
- "v*"
pull_request:

jobs:
Expand All @@ -15,13 +15,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.20.x
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version: stable
- run: go mod tidy
- run: go test -v ./...

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/caarlos0/svu

go 1.20
go 1.22

require (
github.com/Masterminds/semver/v3 v3.2.1
Expand Down

0 comments on commit adf3c2a

Please sign in to comment.