feat: Moving to a callback-based system #27
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: tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: v1.51.1 | |
test: | |
name: go test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
### ASDF Logic | |
- name: Setup asdf | |
uses: asdf-vm/actions/setup@v1 | |
- name: Install asdf plugins | |
uses: asdf-vm/actions/plugins-add@v1 | |
- name: Install asdf languages | |
uses: asdf-vm/actions/install@v1 | |
### END | |
- name: lintroller | |
run: go run github.com/getoutreach/lintroller/cmd/[email protected] -config lintroller.yaml ./... | |
- name: test | |
run: make test |