Skip to content

add lint and test workflow on github actions #1

add lint and test workflow on github actions

add lint and test workflow on github actions #1

Workflow file for this run

name: lint-and-test
on: push
jobs:
lint:
name: Run lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: './go.mod'
- name: Run lint
run: make install-lint-tools lint
test:
name: Run test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: './go.mod'
- name: Run test
run: make test