Skip to content

Fix the format for 1.20 #86

Fix the format for 1.20

Fix the format for 1.20 #86

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build:
strategy:
matrix:
go:
- 1.17
- 1.18
- 1.19
- '1.20'
- 1.21
- 1.22
- 1.23
fail-fast: false
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v .
- name: Test
run: go test -v .