Skip to content

Commit

Permalink
chore(deps): update go to 1.20/1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 committed Sep 7, 2023
1 parent 00318e9 commit d3dbd36
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
Expand All @@ -18,7 +17,7 @@ jobs:
name: lint
strategy:
matrix:
go-version: [1.19.x]
go-version: [1.20.x, 1.21.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.20.x
- name: Build binary
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build
- name: Upload release asset
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM ghcr.io/blinklabs-io/go:1.19.12-1 AS build
FROM ghcr.io/blinklabs-io/go:1.21.1-1 AS build

WORKDIR /code
COPY . .
RUN make build

FROM cgr.dev/chainguard/glibc-dynamic AS chnsd
COPY --from=build /code/chnsd /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/chnsd"]
COPY --from=build /code/chnsd /bin/
ENTRYPOINT ["chnsd"]
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/blinklabs-io/chnsd

go 1.19
go 1.20

require (
github.com/blinklabs-io/gouroboros v0.53.0
Expand Down

0 comments on commit d3dbd36

Please sign in to comment.