Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Go 1.22 and 1.23, rm old versions, bump CI actions, bump golangci-linter #776

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ on:
jobs:

lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20.x
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
go-version: 1.x # latest
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v6
with:
version: v1.51.2
version: v1.61

commit:
runs-on: ubuntu-22.04
Expand All @@ -44,14 +44,14 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.19.x, 1.20.x]
go-version: [1.19.x, 1.22.x, 1.23.x]
race: ["-race", ""]

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: install go ${{ matrix.go-version }}
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: build
Expand Down
2 changes: 1 addition & 1 deletion cmd/oci-runtime-tool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func before(context *cli.Context) error {
logLevelString := context.GlobalString("log-level")
logLevel, err := logrus.ParseLevel(logLevelString)
if err != nil {
logrus.Fatalf(err.Error())
logrus.Fatal(err)
}
logrus.SetLevel(logLevel)

Expand Down
Loading