File tree 4 files changed +7
-20
lines changed
4 files changed +7
-20
lines changed Original file line number Diff line number Diff line change 7
7
- uses : buildjet/setup-go@v4
8
8
with :
9
9
cache : true
10
- go-version : " ~ 1.20"
10
+ go-version : " 1.20.5 "
11
11
- name : Install gotestsum
12
12
uses : jaxxstorm/action-install-gh-release@v1.10.0
13
13
with :
Original file line number Diff line number Diff line change 6
6
- " v*"
7
7
workflow_dispatch :
8
8
inputs :
9
- go_version :
10
- description : " Go version to use for building."
11
- required : false
12
- default : " 1.20.4"
13
9
dry_run :
14
10
description : Perform a dry-run release (devel). Note that ref must be an annotated tag when run without dry-run.
15
11
type : boolean
35
31
# For some reason, setup-go won't actually pick up a new patch version if
36
32
# it has an old one cached. We need to manually specify the versions so we
37
33
# can get the latest release. Never use "~1.xx" here!
38
- CODER_GO_VERSION : " 1.20.4 "
34
+ CODER_GO_VERSION : " 1.20.5 "
39
35
40
36
jobs :
41
37
release :
98
94
username : ${{ github.actor }}
99
95
password : ${{ secrets.GITHUB_TOKEN }}
100
96
101
- - uses : buildjet/setup-go@v4
102
- with :
103
- go-version : ${{ env.CODER_GO_VERSION }}
104
- cache : true
97
+ - uses : ./.github/actions/setup-go
105
98
106
99
- name : Cache Node
107
100
id : cache-node
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ concurrency:
19
19
cancel-in-progress : ${{ github.event_name == 'pull_request' }}
20
20
21
21
env :
22
- CODER_GO_VERSION : " 1.20.4 "
22
+ CODER_GO_VERSION : " 1.20.5 "
23
23
24
24
jobs :
25
25
codeql :
32
32
with :
33
33
languages : go, javascript
34
34
35
- - name : Setup Go
36
- uses : buildjet/setup-go@v4
37
- with :
38
- go-version : ${{ env.CODER_GO_VERSION }}
35
+ - uses : ./.github/actions/setup-go
39
36
40
37
# Workaround to prevent CodeQL from building the dashboard.
41
38
- name : Remove Makefile
63
60
with :
64
61
fetch-depth : 0
65
62
66
- - uses : buildjet/setup-go@v4
67
- with :
68
- go-version : ${{ env.CODER_GO_VERSION }}
69
- cache : true
63
+ - uses : ./.github/actions/setup-go
70
64
71
65
- name : Cache Node
72
66
id : cache-node
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ FROM ubuntu:jammy AS go
8
8
9
9
RUN apt-get update && apt-get install --yes curl gcc
10
10
# Install Go manually, so that we can control the version
11
- ARG GO_VERSION=1.20.4
11
+ ARG GO_VERSION=1.20.5
12
12
RUN mkdir --parents /usr/local/go
13
13
14
14
# Boring Go is needed to build FIPS-compliant binaries.
You can’t perform that action at this time.
0 commit comments