Skip to content

Commit

Permalink
Merge pull request #6 from searchspring/go-1.23
Browse files Browse the repository at this point in the history
Bump go version
  • Loading branch information
aroberts89 authored Aug 29, 2024
2 parents f2795b0 + 7711a84 commit 8ac2361
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
id: go
uses: actions/setup-go@v4
with:
go-version: ^1.22
go-version-file: 'go.mod'
- name: Install golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
version: latest
- name: Install dependency
run: if [ $(uname) == "Darwin" ]; then brew install gnu-sed ;fi
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ^1.22
go-version-file: 'go.mod'

- name: Set GOVERSION
run: echo "GOVERSION=$(go version | sed -r 's/go version go(.*)\ .*/\1/')" >> $GITHUB_ENV
Expand Down Expand Up @@ -51,4 +51,4 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: cosmtrek/air:${{ env.VERSION }}
- name: Show docker image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build.outputs.digest }}
4 changes: 2 additions & 2 deletions .github/workflows/smoke_test_reuse_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: go
uses: actions/setup-go@v4
with:
go-version: ^1.22
go-version-file: 'go.mod'
- name: Install
run: make install
- name: Check rebuild
Expand All @@ -34,4 +34,4 @@ jobs:
- uses: nick-invision/assert-action@v2
with:
expected: "PASS"
actual: ${{ steps.check_rebuild.outputs.value }}
actual: ${{ steps.check_rebuild.outputs.value }}
2 changes: 1 addition & 1 deletion .github/workflows/smoke_test_reuse_job_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: go
uses: actions/setup-go@v4
with:
go-version: ^1.22
go-version-file: 'go.mod'
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

LABEL maintainer="Rick Yu <[email protected]>"

Expand All @@ -12,7 +12,7 @@ RUN --mount=type=cache,target=/go/pkg/mod go mod download

RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build make ci && make install

FROM golang:1.22
FROM golang:1.23

COPY --from=builder /go/bin/air /go/bin/air

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/air-verse/air

go 1.22
go 1.23

require (
dario.cat/mergo v1.0.0
Expand Down

0 comments on commit 8ac2361

Please sign in to comment.