fixup impl #33
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: lint-test | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: check valid sh | |
run: shellcheck tests/*.sh | |
- uses: actions/setup-go@v4 | |
- name: Install dependencies | |
run: go get . | |
- name: Build | |
run: go build | |
- name: Generate structs | |
run: ./tests/starter-site.sh | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.59.1 | |
- name: Run tests | |
run: go test -v ./... && git diff fixtures |