File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - ' *'
77
88jobs :
9- golangci :
10- name : lint
9+ lint :
1110 runs-on : ubuntu-latest
1211 steps :
1312 - uses : actions/setup-go@v2
@@ -18,26 +17,28 @@ jobs:
1817 version : v1.45.2
1918
2019 docker-release :
20+ needs : lint
2121 runs-on : ubuntu-latest
2222 steps :
23- - uses : actions/checkout@v1
23+ - uses : actions/checkout@v2
2424 - name : Docker login
2525 run : docker login --username ${{ secrets.DOCKER_LOGIN }} --password ${{ secrets.DOCKER_PASSWORD }}
2626 - name : Docker release
2727 run : make docker-release
2828
2929 github-release :
30+ needs : lint
3031 runs-on : ubuntu-latest
3132 steps :
32- - uses : actions/checkout@v1
33+ - uses : actions/checkout@v2
3334 - name : Set up Go
34- uses : actions/setup-go@master
35+ uses : actions/setup-go@v2
3536 with :
36- go-version : 1.13.4
37+ go-version : 1.18
3738 - name : Run GoReleaser
38- uses : goreleaser/goreleaser-action@v1
39+ uses : goreleaser/goreleaser-action@v2
3940 with :
40- version : v0.123.3
41+ version : latest
4142 args : release --rm-dist
4243 env :
4344 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Simple app that checks if PostgreSQL database is ready or not.
77### Option 1: use binary
88
99``` sh
10- wget https://github.com/mxssl/wait-for-pg/releases/download/v0 .0.9 /wait-for-pg-linux-amd64.tar.gz
10+ wget https://github.com/mxssl/wait-for-pg/releases/download/v1 .0.0 /wait-for-pg-linux-amd64.tar.gz
1111tar xvzf wait-for-pg-linux-amd64.tar.gz
1212cp wait-for-pg /usr/local/bin/wait-for-pg
1313chmod +x /usr/local/bin/wait-for-pg
@@ -29,7 +29,7 @@ wait-for-pg check \
2929docker container \
3030 run \
3131 --rm \
32- mxssl/wait-for-pg:v0 .0.9 \
32+ mxssl/wait-for-pg:v1 .0.0 \
3333 wait-for-pg check \
3434 --host postgres.domain.com \
3535 --port 5432 \
Original file line number Diff line number Diff line change @@ -8,26 +8,6 @@ require (
88)
99
1010require (
11- github.com/bombsimon/wsl v1.2.8 // indirect
12- github.com/go-critic/go-critic v0.4.0 // indirect
13- github.com/gogo/protobuf v1.3.1 // indirect
14- github.com/golangci/gocyclo v0.0.0-20180528144436-0a533e8fa43d // indirect
15- github.com/golangci/golangci-lint v1.21.0 // indirect
16- github.com/golangci/revgrep v0.0.0-20180812185044-276a5c0a1039 // indirect
17- github.com/gostaticanalysis/analysisutil v0.0.3 // indirect
1811 github.com/inconshreveable/mousetrap v1.0.0 // indirect
19- github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
20- github.com/mattn/go-isatty v0.0.10 // indirect
21- github.com/pelletier/go-toml v1.6.0 // indirect
22- github.com/securego/gosec v0.0.0-20191119104125-df484bfa9e9f // indirect
23- github.com/spf13/afero v1.2.2 // indirect
24- github.com/spf13/jwalterweatherman v1.1.0 // indirect
2512 github.com/spf13/pflag v1.0.5 // indirect
26- github.com/spf13/viper v1.5.0 // indirect
27- github.com/uudashr/gocognit v1.0.0 // indirect
28- golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9 // indirect
29- golang.org/x/tools v0.0.0-20191127201027-ecd32218bd7f // indirect
30- gopkg.in/yaml.v2 v2.4.0 // indirect
31- mvdan.cc/unparam v0.0.0-20191111180625-960b1ec0f2c2 // indirect
32- sourcegraph.com/sqs/pbtypes v1.0.0 // indirect
3313)
You can’t perform that action at this time.
0 commit comments