Skip to content

Commit

Permalink
Bump go to 1.22 (#57)
Browse files Browse the repository at this point in the history
* Bump go to 1.22

Change-Id: Ic8a9e8a3a3923e7924428bc264c82c9b70af6036

* fixup! Bump go to 1.22

---------

Co-authored-by: Thibault Jamet <thibault.jamet@adevinta.com>
  • Loading branch information
tjamet and Thibault Jamet committed Mar 14, 2024
1 parent b9dc229 commit 7ba4223
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: Build
run: |
Expand Down
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/adevinta/maiao

go 1.20
go 1.22

require (
github.com/99designs/keyring v1.2.2
Expand Down
8 changes: 5 additions & 3 deletions scripts/cibuild
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#! /bin/bash

set -e

GO111MODULE=off go get github.com/axw/gocov/gocov
GO111MODULE=off go get github.com/AlekSi/gocov-xml
GO111MODULE=off go get github.com/jstemmer/go-junit-report
go install github.com/axw/gocov/gocov@latest
go install github.com/AlekSi/gocov-xml@latest
go install github.com/jstemmer/go-junit-report@latest

set +e

go test -v ./... -cover -covermode=count -coverprofile=profile.cov | tee /dev/stderr | go-junit-report > junit.xml
exit_code=$?
Expand Down

0 comments on commit 7ba4223

Please sign in to comment.