Skip to content

Commit 2aa6422

Browse files
authored
go: update to v1.24 (#66)
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent c413ce2 commit 2aa6422

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

.github/workflows/binaries.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ on:
44
release:
55
types: [created]
66

7+
permissions:
8+
contents: write
9+
packages: write
10+
711
jobs:
812
release-linux-amd64:
913
name: release linux/amd64
1014
runs-on: ubuntu-latest
1115
steps:
1216
- uses: actions/checkout@v2
13-
- uses: wangyoucao577/go-release-action@v1.35
17+
- uses: wangyoucao577/go-release-action@v1.53
1418
with:
1519
github_token: ${{ secrets.GITHUB_TOKEN }}
1620
goos: linux
@@ -23,7 +27,7 @@ jobs:
2327
runs-on: ubuntu-latest
2428
steps:
2529
- uses: actions/checkout@v2
26-
- uses: wangyoucao577/go-release-action@v1.35
30+
- uses: wangyoucao577/go-release-action@v1.53
2731
with:
2832
github_token: ${{ secrets.GITHUB_TOKEN }}
2933
goos: linux
@@ -36,7 +40,7 @@ jobs:
3640
runs-on: ubuntu-latest
3741
steps:
3842
- uses: actions/checkout@v2
39-
- uses: wangyoucao577/go-release-action@v1.35
43+
- uses: wangyoucao577/go-release-action@v1.53
4044
with:
4145
github_token: ${{ secrets.GITHUB_TOKEN }}
4246
goos: darwin
@@ -49,7 +53,7 @@ jobs:
4953
runs-on: ubuntu-latest
5054
steps:
5155
- uses: actions/checkout@v2
52-
- uses: wangyoucao577/go-release-action@v1.35
56+
- uses: wangyoucao577/go-release-action@v1.53
5357
with:
5458
github_token: ${{ secrets.GITHUB_TOKEN }}
5559
goos: darwin
@@ -62,7 +66,7 @@ jobs:
6266
runs-on: ubuntu-latest
6367
steps:
6468
- uses: actions/checkout@v2
65-
- uses: wangyoucao577/go-release-action@v1.35
69+
- uses: wangyoucao577/go-release-action@v1.53
6670
with:
6771
github_token: ${{ secrets.GITHUB_TOKEN }}
6872
goos: windows

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
go: [ '1.16', '1.17' ]
10+
go: [ '1.23', '1.24' ]
1111

1212
name: Go ${{ matrix.go }} testing
1313
steps:

_example/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66

77
"github.com/a8m/envsubst"
8-
"gopkg.in/yaml.v2"
8+
"gopkg.in/yaml.v3"
99
)
1010

1111
type Config struct {

go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
module github.com/a8m/envsubst
22

3-
go 1.21
4-
5-
require gopkg.in/yaml.v2 v2.4.0 // indirect
3+
go 1.24

go.sum

-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
3-
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=

0 commit comments

Comments
 (0)