Skip to content

Merge pull request #32 from twpayne/dependabot/go_modules/golang.org/… #120

Merge pull request #32 from twpayne/dependabot/go_modules/golang.org/…

Merge pull request #32 from twpayne/dependabot/go_modules/golang.org/… #120

Workflow file for this run

name: main
on:
pull_request:
push:
branches:
- master
tags:
- v*
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
- run: go build ./...
- run: go test ./...
- id: generate
run: |
go generate
git diff --exit-code
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
- uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5
with:
version: v1.52.2