DXE-4233 Merge pull request #212 from akamai/DXE-4233-goimports #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- v1 | |
- v2 | |
- v3 | |
- v4 | |
- v5 | |
- v6 | |
- v7 | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
- name: Fmt check | |
run: make fmt-check | |
- name: Linter check | |
run: make lint | |
- name: Run tests | |
run: make test-verbose |