diff --git a/.github/workflows/continuous_delivery.yaml b/.github/workflows/continuous_delivery.yaml index e554dce4da9f2ba01f8d841cab6dccd63cd12d95..2f70da57ec5d4a299fd6f097ffa2f79174c6954d 100644 --- a/.github/workflows/continuous_delivery.yaml +++ b/.github/workflows/continuous_delivery.yaml @@ -21,7 +21,7 @@ jobs: - name: Setup uses: actions/setup-go@v2 with: - go-version: '1.17' + go-version: '1.18' - name: Checkout uses: actions/checkout@v2 @@ -46,8 +46,7 @@ jobs: strategy: matrix: go_version: - - '1.14' - - '1.15' + - '1.17' - '1.16' steps: @@ -74,6 +73,9 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Setup flyctl + uses: superfly/flyctl-actions/setup-flyctl@1.3 + - name: Notify start id: deployment uses: bobheadxi/deployments@v0.6.1 @@ -83,9 +85,7 @@ jobs: env: production - name: Deploy - uses: superfly/flyctl-actions@1.1 - with: - args: "deploy --strategy rolling" + run: "flyctl deploy --strategy rolling" env: DOCKER_BUILDKIT: 1 FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index adad750d4b2e5c77ffb5d7e810a164467495c918..264f3acd8ac70b767206998dd5900c0747348ec8 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -13,6 +13,6 @@ jobs: steps: - uses: actions/checkout@v2 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3.1.0 with: - version: v1.39.0 + version: v1.45.2 diff --git a/Makefile b/Makefile index 8b5df9529b2a13d28d3641ce06574dbfd73f54ae..ab036c04abe45d724898c537913a69c8e13b81b0 100644 --- a/Makefile +++ b/Makefile @@ -157,13 +157,13 @@ imagepush: # Deps are installed outside of working dir to avoid polluting go modules # ============================================================================= $(TOOL_GOBINDATA): - cd /tmp && go get -u github.com/kevinburke/go-bindata/... + go install github.com/kevinburke/go-bindata/go-bindata@v3.23.0 $(TOOL_GOLINT): - cd /tmp && go get -u golang.org/x/lint/golint + go install golang.org/x/lint/golint@latest $(TOOL_REFLEX): - cd /tmp && go get -u github.com/cespare/reflex + go install github.com/cespare/reflex@0.3.1 $(TOOL_STATICCHECK): - cd /tmp && go get -u honnef.co/go/tools/cmd/staticcheck + go install honnef.co/go/tools/cmd/staticcheck@v0.3.0 diff --git a/httpbin/assets/assets.go b/httpbin/assets/assets.go index 2db789b2e6c40373677766936ba9398edacc6fed..bb4b17a0cf0fc3920fdaebe457ebb317ef825910 100644 --- a/httpbin/assets/assets.go +++ b/httpbin/assets/assets.go @@ -1,15 +1,15 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// static/forms-post.html (1.398kB) -// static/image.jpeg (35.588kB) -// static/image.png (8.09kB) -// static/image.svg (8.984kB) -// static/image.webp (10.568kB) -// static/index.html (10.917kB) -// static/moby.html (3.742kB) -// static/sample.json (421B) -// static/sample.xml (522B) -// static/utf8.html (14.24kB) +// forms-post.html (1.398kB) +// image.jpeg (35.588kB) +// image.png (8.09kB) +// image.svg (8.984kB) +// image.webp (10.568kB) +// index.html (10.917kB) +// moby.html (3.742kB) +// sample.json (421B) +// sample.xml (522B) +// utf8.html (14.24kB) package assets