disable Reviewdog #12
Workflow file for this run
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: main | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
test: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -eu -o pipefail {0} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup go | |
id: setup-go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: "go.mod" | |
- name: Download dependencies | |
if: ${{ steps.setup-go.outputs.cache-hit != 'true' }} | |
run: | | |
go mod download | |
- name: Run test | |
run: | | |
make test | |
lint: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -eu -o pipefail {0} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup go | |
id: setup-go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: "go.mod" | |
- name: Download dependencies | |
if: ${{ steps.setup-go.outputs.cache-hit != 'true' }} | |
run: | | |
go mod download | |
- name: Run lint tools | |
run: | | |
make lint |