File tree Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 3030
3131 steps :
3232 - name : Checkout repository
33- uses : actions/checkout@v2
33+ uses : actions/checkout@v3
3434 with :
3535 # We must fetch at least the immediate parents so that if this is
3636 # a pull request then we can checkout the head.
Original file line number Diff line number Diff line change 66 build :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
9+ - uses : actions/checkout@v3
1010 with :
1111 fetch-depth : 2
12- - uses : actions/setup-go@v2
12+ - uses : actions/setup-go@v3
1313 with :
1414 go-version : ' 1.19'
1515 - name : Run coverage
Original file line number Diff line number Diff line change 66 name : Ensure docs are generated
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
9+ - uses : actions/checkout@v3
1010 - name : Generate code
1111 run : go run ./cmd/scw-doc-gen
1212 env :
1717 markdown-link-check :
1818 runs-on : ubuntu-latest
1919 steps :
20- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v3
2121 -
uses :
gaurav-nelson/[email protected] 2222 with :
2323 use-quiet-mode : ' yes'
Original file line number Diff line number Diff line change 66 name : lint
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
9+ - uses : actions/checkout@v3
1010 - name : golangci-lint
11- uses : golangci/golangci-lint-action@v2
11+ uses : golangci/golangci-lint-action@v3
1212 with :
1313 # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
1414 version : v1.50.1
Original file line number Diff line number Diff line change @@ -10,20 +10,20 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v3
1414 with :
1515 fetch-depth : 0
1616
1717 - name : Login to DockerHub Registry
1818 run : echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
1919
2020 - name : Set up Go
21- uses : actions/setup-go@v2
21+ uses : actions/setup-go@v3
2222 with :
23- go-version : 1.17
23+ go-version : 1.19
2424
2525 - name : Run GoReleaser
26- uses : goreleaser/goreleaser-action@v2
26+ uses : goreleaser/goreleaser-action@v4
2727 with :
2828 version : latest
2929 args : release --rm-dist
Original file line number Diff line number Diff line change 77 os-tests :
88 strategy :
99 matrix :
10- go-version : [1.18.x, 1. 19.x]
10+ go-version : [1.19.x]
1111 platform : [ubuntu-latest, macos-latest, windows-latest]
1212 runs-on : ${{ matrix.platform }}
1313 steps :
1414 - name : Install Go
15- uses : actions/setup-go@v1
15+ uses : actions/setup-go@v3
1616 with :
1717 go-version : ${{ matrix.go-version }}
1818 - name : Set git to use LF to avoid problem with goldens on windows
1919 run : |
2020 git config --global core.autocrlf false
2121 git config --global core.eol lf
2222 - name : Checkout
23- uses : actions/checkout@v2
23+ uses : actions/checkout@v3
2424 with :
2525 fetch-depth : 1
2626 - name : Run unit tests
@@ -31,16 +31,16 @@ jobs:
3131 build-tests :
3232 strategy :
3333 matrix :
34- go-version : [1.18.x, 1. 19.x]
34+ go-version : [1.19.x]
3535 platform : [ubuntu-latest]
3636 runs-on : ${{ matrix.platform }}
3737 steps :
3838 - name : Install Go
39- uses : actions/setup-go@v1
39+ uses : actions/setup-go@v3
4040 with :
4141 go-version : ${{ matrix.go-version }}
4242 - name : Checkout
43- uses : actions/checkout@v2
43+ uses : actions/checkout@v3
4444 with :
4545 fetch-depth : 1
4646 - name : Build binaries
5050 runs-on : ubuntu-latest
5151 steps :
5252 - name : Checkout
53- uses : actions/checkout@v2
53+ uses : actions/checkout@v3
5454 with :
5555 fetch-depth : 1
5656 - name : Build image in Docker
You can’t perform that action at this time.
0 commit comments