Skip to content

Commit

Permalink
Update golang to 1.20, bump golang-cross and pre-commit hooks (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunickiaj authored Feb 25, 2023
1 parent e3cad08 commit 5e556ed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.50.1
version: v1.51.2
build:
name: build
runs-on: ubuntu-latest
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ^1.19
go-version: ^1.20
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.19
go-version: ^1.20
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/golangci/golangci-lint
rev: v1.50.1
rev: v1.51.2
hooks:
- id: golangci-lint
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME := github.com/kunickiaj/beer
GOLANG_CROSS_VERSION ?= v1.19.4-0
GOLANG_CROSS_VERSION ?= v1.20.1

SYSROOT_DIR ?= sysroots
SYSROOT_ARCHIVE ?= sysroots.tar.bz2
Expand Down

0 comments on commit 5e556ed

Please sign in to comment.