Fix spelling issues #7
This file contains hidden or 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: Code Quality | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
static-analysis: | |
name: Static Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup just | |
uses: extractions/setup-just@v2 | |
env: | |
github_token: ${{ github.token }} | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
- name: Setup golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
- name: Run lint | |
run: | | |
just lint | |
- name: Ensure go mod tidy | |
run: | | |
go mod tidy -diff | |
- name: Check spelling | |
uses: streetsidesoftware/cspell-action@v6 | |
- name: Lint YAML | |
uses: karancode/yamllint-github-action@master |