Skip to content

Commit 762b253

Browse files
Switch to Go 1.17 (#45)
* Switch to Go 1.17 * Update GH secret name * Upgrade transitive dependencies
1 parent 635495f commit 762b253

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: 1.16
19+
go-version: '1.17'
2020
- name: Login to GitHub Container Registry
2121
uses: docker/login-action@v1
2222
with:
2323
registry: ghcr.io
2424
username: ${{ github.repository_owner }}
25-
password: ${{ secrets.CR_TOKEN }}
25+
password: ${{ secrets.GH_PAT }}
2626
- name: Run GoReleaser
2727
uses: goreleaser/goreleaser-action@v2
2828
with:
2929
args: release --rm-dist
3030
env:
31-
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Install Go
1414
uses: actions/setup-go@v2
1515
with:
16-
go-version: '1.16'
16+
go-version: '1.17'
1717

1818
- name: Checkout code
1919
uses: actions/checkout@v2
@@ -44,7 +44,7 @@ jobs:
4444
- name: Install Go
4545
uses: actions/setup-go@v2
4646
with:
47-
go-version: '1.16'
47+
go-version: '1.17'
4848

4949
- name: Checkout code
5050
uses: actions/checkout@v2

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
module github.com/patrickhoefler/cloudbuildgraph
22

3-
go 1.14
3+
go 1.17
44

55
require (
66
github.com/awalterschulze/gographviz v2.0.3+incompatible
77
github.com/google/go-cmp v0.5.6
88
github.com/spf13/afero v1.6.0
99
gopkg.in/yaml.v2 v2.4.0
1010
)
11+
12+
require golang.org/x/text v0.3.7 // indirect

go.sum

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
1717
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
1818
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
1919
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
20-
golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
2120
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
21+
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
22+
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
2223
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
2324
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
2425
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

0 commit comments

Comments
 (0)