@@ -27,7 +27,7 @@ It also pulls the list of release tags from
27
27
[ https://go.dev/dl/ ] ( https://go.dev/dl/ ) and exposes the latest
28
28
released Go version as a variable as well.
29
29
30
- From the list of released go versions and the minimal version your
30
+ From the list of released Go versions and the minimal version your
31
31
module supports we also build a "matrix" variable to be used as a
32
32
build matrix.
33
33
@@ -41,7 +41,7 @@ specify the working directory where it is located:
41
41
42
42
``` yaml
43
43
working-directory :
44
- description : Working direcory where you go.mod file is located
44
+ description : Working directory where you go.mod file is located
45
45
required : false
46
46
default : .
47
47
unsupported :
@@ -62,25 +62,25 @@ patch-level:
62
62
63
63
` ` ` yaml
64
64
module :
65
- description : The go module path (as specified by go.mod)
65
+ description : The Go module path (as specified by go.mod)
66
66
go-mod-version :
67
- description : The go version specified by go.mod
67
+ description : The Go version specified by go.mod
68
68
minimal :
69
- description : The minial go version
69
+ description : The minimal Go version
70
70
matrix :
71
- description : An (stringified) array of go versions from the minimal supported version to the latest released version
71
+ description : An (stringified) array of Go versions from the minimal supported version to the latest released version
72
72
latest :
73
- description : The latest go version
73
+ description : The latest Go version
74
74
` ` `
75
75
76
76
## Examples
77
77
78
- Let's say your ` go.mod` specifies go 1.13 as the minimal supported
79
- version and you want your workflow to setup go version 1.13 using the
78
+ Let's say your ` go.mod` specifies Go 1.13 as the minimal supported
79
+ version and you want your workflow to setup Go version 1.13 using the
80
80
[actions/setup-go](https://github.com/actions/setup-go) action :
81
81
82
82
` ` ` yaml
83
- name: My go workflow
83
+ name: My Go workflow
84
84
on: pull_request
85
85
86
86
jobs:
@@ -112,7 +112,7 @@ name: Test
112
112
113
113
jobs:
114
114
go-versions:
115
- name: Lookup go versions
115
+ name: Lookup Go versions
116
116
runs-on: ubuntu-latest
117
117
outputs:
118
118
matrix: ${{ steps.versions.outputs.matrix }}
@@ -134,7 +134,7 @@ jobs:
134
134
with:
135
135
go-version: ${{ matrix.version }}
136
136
check-latest: true
137
- - name: go test
137
+ - name: Go test
138
138
run: go test -v -race -cover -covermode=atomic -coverprofile=coverage.txt ./...
139
139
` ` `
140
140
0 commit comments