Skip to content

Commit

Permalink
feat: use 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
nekottyo committed Dec 7, 2023
1 parent 66f3691 commit 49d73d3
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.17
uses: actions/setup-go@v1
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.17
go-version: 1.21
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/cache@v2
with:
Expand All @@ -29,13 +28,5 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v .

0 comments on commit 49d73d3

Please sign in to comment.