Skip to content

Commit

Permalink
Merge pull request #776 from kolyshkin/go123
Browse files Browse the repository at this point in the history
Add Go 1.22 and 1.23, rm old versions, bump CI actions, bump golangci-linter
  • Loading branch information
tianon authored Nov 8, 2024
2 parents 6c9570a + 4c69808 commit f7e3563
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
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

0 comments on commit f7e3563

Please sign in to comment.