🧱 Chunk is a download manager for slow and unstable servers
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #52 from cuducos/update-go

Updates Go

authored by

Eduardo Cuducos and committed by
GitHub
7d5426cc 7e93d19d

+12 -17
+3 -3
.github/workflows/gofmt.yaml
··· 4 4 format: 5 5 runs-on: ubuntu-latest 6 6 steps: 7 - - uses: actions/checkout@v3 8 - - uses: actions/setup-go@v3 7 + - uses: actions/checkout@v4 8 + - uses: WillAbides/setup-go-faster@v1.14.0 9 9 with: 10 - go-version: "1.19" 10 + go-version: "1.24" 11 11 - run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
+4 -8
.github/workflows/golint.yaml
··· 4 4 lint: 5 5 runs-on: ubuntu-latest 6 6 steps: 7 - - uses: actions/checkout@v3 8 - with: 9 - fetch-depth: 1 10 - - uses: WillAbides/setup-go-faster@v1.7.0 11 - with: 12 - go-version: "1.19.x" 13 - - uses: dominikh/staticcheck-action@v1.3.0 7 + - uses: actions/checkout@v4 8 + - uses: WillAbides/setup-go-faster@v1.14.0 14 9 with: 15 - version: "2023.1.6" 10 + go-version: "1.24.x" 11 + - uses: dominikh/staticcheck-action@v1.3.1
+3 -4
.github/workflows/tests.yaml
··· 6 6 fail-fast: false 7 7 matrix: 8 8 os: ["windows-latest", "ubuntu-latest", "macOS-latest"] 9 - go: ["1.18.x", "1.19.x"] 9 + go: ["1.23.x", "1.24.x"] 10 10 runs-on: ${{ matrix.os }} 11 - 12 11 steps: 13 - - uses: actions/checkout@v3 14 - - uses: actions/setup-go@v3 12 + - uses: actions/checkout@v4 13 + - uses: WillAbides/setup-go-faster@v1.14.0 15 14 with: 16 15 go-version: ${{ matrix.go }} 17 16 - run: "go test --race ."
+1 -1
Dockerfile
··· 1 - FROM golang:1.19-bullseye as build 1 + FROM golang:1.24-bullseye as build 2 2 WORKDIR /chunk 3 3 COPY go.* . 4 4 RUN go mod download
+1 -1
go.mod
··· 1 1 module github.com/cuducos/chunk 2 2 3 - go 1.19 3 + go 1.23 4 4 5 5 require ( 6 6 github.com/avast/retry-go/v4 v4.6.1