-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump Go from 1.20 to 1.22 (+ outdated ghaction) (#776)
* Bump Go from 1.20 to 1.22 * Bump outdated ghactions
- Loading branch information
Showing
19 changed files
with
91 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
@@ -55,9 +55,9 @@ jobs: | |
needs: build-abci | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
@@ -84,9 +84,9 @@ jobs: | |
needs: build-abci | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
@@ -112,9 +112,9 @@ jobs: | |
needs: build-abci | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,9 +24,9 @@ jobs: | |
steps: | ||
- run: sudo apt update && sudo apt install -y ${{ matrix.package }} qemu-user-binfmt | ||
if: "matrix.package != ''" | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,27 +13,27 @@ jobs: | |
- name: Split pkgs into 6 files | ||
run: split -d -n l/6 pkgs.txt pkgs.txt.part. | ||
# cache multiple | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-00" | ||
path: ./pkgs.txt.part.00 | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-01" | ||
path: ./pkgs.txt.part.01 | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-02" | ||
path: ./pkgs.txt.part.02 | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-03" | ||
path: ./pkgs.txt.part.03 | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-04" | ||
path: ./pkgs.txt.part.04 | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-05" | ||
path: ./pkgs.txt.part.05 | ||
|
@@ -46,9 +46,9 @@ jobs: | |
matrix: | ||
part: ["00", "01", "02", "03", "04", "05"] | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
@@ -57,15 +57,15 @@ jobs: | |
go.mod | ||
go.sum | ||
Makefile | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-${{ matrix.part }}" | ||
if: env.GIT_DIFF | ||
- name: test & coverage report creation | ||
run: | | ||
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 7m -race -coverprofile=${{ matrix.part }}profile.out -covermode=atomic | ||
if: env.GIT_DIFF | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-${{ matrix.part }}-coverage" | ||
path: ./${{ matrix.part }}profile.out | ||
|
@@ -82,27 +82,27 @@ jobs: | |
go.mod | ||
go.sum | ||
Makefile | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-00-coverage" | ||
if: env.GIT_DIFF | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-01-coverage" | ||
if: env.GIT_DIFF | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-02-coverage" | ||
if: env.GIT_DIFF | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-03-coverage" | ||
if: env.GIT_DIFF | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-04-coverage" | ||
if: env.GIT_DIFF | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: "${{ github.sha }}-05-coverage" | ||
if: env.GIT_DIFF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ jobs: | |
e2e-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.20" | ||
go-version: "1.22" | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,9 +17,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 8 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# stage 1 Generate Ostracon Binary | ||
FROM golang:1.20-alpine as builder | ||
FROM golang:1.22-alpine as builder | ||
RUN apk update && \ | ||
apk upgrade && \ | ||
apk add --no-cache git make gcc libc-dev build-base curl jq bash file gmp-dev clang libtool autoconf automake | ||
|
@@ -8,7 +8,7 @@ WORKDIR /ostracon | |
RUN make build-linux | ||
|
||
# stage 2 | ||
FROM golang:1.20-alpine | ||
FROM golang:1.22-alpine | ||
LABEL maintainer="[email protected]" | ||
|
||
# Ostracon will be looking for the genesis file in /ostracon/config/genesis.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/Finschia/ostracon | ||
|
||
go 1.20 | ||
go 1.22 | ||
|
||
require ( | ||
github.com/BurntSushi/toml v1.3.2 | ||
|
Oops, something went wrong.