Skip to content

Commit

Permalink
Use go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
mat committed Aug 31, 2023
1 parent 7e36146 commit c1ffb11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.20
go-version: ^1.21

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -27,5 +27,5 @@ jobs:
- run: make test

- run: make test_bench

- run: make test_race
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Use the offical Golang image to create a build artifact.
# https://hub.docker.com/_/golang
FROM golang:1.20 as builder
FROM golang:1.21 as builder

# Copy local code to the container image.
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/mat/besticon

// +heroku goVersion go1.20
// +heroku goVersion go1.21

go 1.20
go 1.21

require (
github.com/PuerkitoBio/goquery v1.6.1
Expand Down

0 comments on commit c1ffb11

Please sign in to comment.