🚨 Fix linting error #4
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 & Lint Code | |
on: | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- ".github/**" | |
- ".githooks/**" | |
pull_request: | |
paths-ignore: | |
- ".github/**" | |
- ".githooks/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
- name: Install Tools | |
run: make install | |
- name: Run Test | |
run: make test | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
- name: Install Tools | |
run: make install | |
- name: Lint Go | |
run: make lint |