- Refactor file embedding to use Go 1.16 embed functionality.

- Remove references to previous bindata packages from build scripts and docs
This commit is contained in:
Simon Marsh
2021-07-13 11:31:42 +01:00
parent 03c42eb1e8
commit 256a80646f
15 changed files with 30 additions and 43 deletions

View File

@@ -21,17 +21,15 @@ workflows:
jobs:
build:
docker:
- image: circleci/golang:1.15
- image: circleci/golang:1.16
working_directory: /go/src/github.com/xddxdd/bird-lg-go
steps:
- checkout
- run: go get -v -t -d ./...
- run: go get -u github.com/kevinburke/go-bindata/...
- run: cd frontend && go generate
- run: go test -v ./...
- run: GO111MODULE=auto go get -v -t -d ./...
- run: GO111MODULE=auto go test -v ./...
deploy:
docker:
- image: circleci/golang:1.15
- image: circleci/golang:1.16
working_directory: /go/src/github.com/xddxdd/bird-lg-go
parameters:
image_arch: