mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 14:13:26 +00:00
.github/, Dockerfile: bump go version (#654)
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -105,9 +105,9 @@ jobs:
|
||||
echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ^1.18
|
||||
go-version: ^1.22
|
||||
|
||||
- name: Get project dependencies
|
||||
run: go mod download
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -13,9 +13,9 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go_version:
|
||||
- '1.21'
|
||||
- '1.22'
|
||||
- '1.23'
|
||||
- '1.24'
|
||||
- tip
|
||||
name: Test with ${{ matrix.go_version }}
|
||||
steps:
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@master
|
||||
with:
|
||||
go-version: '1.23'
|
||||
go-version: '1.24'
|
||||
check-latest: true
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Default to Go 1.20
|
||||
ARG GO_VERSION=1.20
|
||||
# Default to Go 1.24
|
||||
ARG GO_VERSION=1.24
|
||||
FROM golang:${GO_VERSION}-alpine as build
|
||||
|
||||
# Necessary to run 'go get' and to compile the linked binary
|
||||
|
||||
Reference in New Issue
Block a user