Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ freebsd_12_task:
image_family: freebsd-12-2
install_script: |
pkg install -y git go
GOBIN=$PWD/bin go get golang.org/dl/go1.16.6
bin/go1.16.6 download
build_script: bin/go1.16.6 build -v ./...
test_script: bin/go1.16.6 test -race ./...
GOBIN=$PWD/bin go get golang.org/dl/go1.17
bin/go1.17 download
build_script: bin/go1.17 build -v ./...
test_script: bin/go1.17 test -race ./...
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build-and-test:
strategy:
matrix:
go-version: [1.14, 1.15, 1.16]
go-version: [1.15, 1.16, 1.17]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

Expand All @@ -26,11 +26,11 @@ jobs:
uses: actions/checkout@v2

- name: Check formatting
if: ${{ matrix.go-version == '1.16' && matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.go-version == '1.17' && matrix.os == 'ubuntu-latest' }}
run: diff -u <(echo -n) <(gofmt -d .)

- name: Check Go modules
if: ${{ matrix.go-version == '1.16' && matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.go-version == '1.17' && matrix.os == 'ubuntu-latest' }}
run: |
go mod tidy
git diff --exit-code
Expand Down