Skip to content
Snippets Groups Projects
Unverified Commit e154d05c authored by Will McCutchen's avatar Will McCutchen Committed by GitHub
Browse files

Misc build & CI fixes (#76)

* Fix installation of deps

* Rebuild static assets w/ newest go-bindata

* Update go versions for CI

* Fix deploy on merge

* Bump golangci-lint version
parent 45635849
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}
......
......@@ -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
......@@ -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
// 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment