Skip to content

Commit

Permalink
#65 - update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
butuzov committed Jan 21, 2024
1 parent 8e544a0 commit 58a4688
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
fail-fast: true
matrix:
go:
- "1.19"
- "1.20"
- "1.21"
- "1.22"

steps:

Expand All @@ -42,11 +42,11 @@ jobs:

- name: Install goveralls
env: { GO111MODULE: "off" }
if: matrix.go == '1.21'
if: matrix.go == '1.22'
run: go get github.com/mattn/goveralls

- name: Coverage - Sending Report to Coveral
if: matrix.go == '1.21'
if: matrix.go == '1.22'
env:
COVERALLS_TOKEN: ${{ secrets.github_token }}
run: goveralls -coverprofile=coverage.cov -service=github
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- v*

env:
GO_VERSION: 1.21
GO_VERSION: 1.22
jobs:

GoReeleaser:
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.21-alpine as builder
FROM golang:1.22-alpine as builder

WORKDIR /build
RUN apk add --no-cache upx
Expand All @@ -9,7 +9,7 @@ RUN go build -trimpath -o bin/ireturn ./cmd/ireturn
RUN upx --brute /build/bin/ireturn


FROM golang:1.21-alpine as base
FROM golang:1.22-alpine as base
WORKDIR /
COPY --from=builder /build/bin/ireturn ireturn
VOLUME /app
Expand Down
3 changes: 3 additions & 0 deletions analyzer/std.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/generate-std.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

mkdir -p .tmp

tip=21
tip=22

# create std pkg list
for i in $(seq 1 $tip); do
Expand Down

0 comments on commit 58a4688

Please sign in to comment.