Skip to content

Update module golang.org/x/tools to v0.22.0 #63

Update module golang.org/x/tools to v0.22.0

Update module golang.org/x/tools to v0.22.0 #63

Workflow file for this run

name: test
on:
push:
jobs:
test:
name: test
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Setup Go 1.18
uses: actions/setup-go@v3
with:
go-version: 1.18
id: go
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Lint
run: |
gofmt -d . | if [$(wc -l) != 0 ]; then exit 1; fi
- name: Test
run: |
go test ./...