Skip to content

Commit

Permalink
Fuzzers require 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Dynom committed Jul 18, 2022
1 parent a9958eb commit 0dafe26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ version: 2
jobs:
build-and-test:
docker:
- image: cimg/go:1.17
- image: cimg/go:1.18

environment:
BINARY_NAME: "TySug-linux-amd64"
TEST_RESULTS: "/tmp/test-results"
#GOFLAGS: "-buildvcs=false" # for 1.18
GOFLAGS: "-buildvcs=false -trimpath"


steps:
Expand All @@ -23,7 +23,7 @@ jobs:
name: Build
command: |
TAG=${CIRCLE_TAG:-dev}
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o "${TEST_RESULTS}/${BINARY_NAME}" -a -ldflags="-w -s -X main.Version=${TAG}" ./cmd/web
GOFLAGS="-buildvcs=false -trimpath" CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o "${TEST_RESULTS}/${BINARY_NAME}" -a -ldflags="-w -s -X main.Version=${TAG}" ./cmd/web
- run:
# Check if we have updates to minor/patch level packages we're explicitly referencing
Expand Down

0 comments on commit 0dafe26

Please sign in to comment.