Fix: Show warning about file import #721
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build_and_generate: | |
name: build and generate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install tools | |
run: make tools | |
- name: generate files | |
run: make generate | |
- name: check diff | |
run: git diff --exit-code | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install tools | |
run: make tools | |
- name: run test | |
run: make test | |
- name: report coverage | |
uses: k1LoW/[email protected] |