Skip to content

Update dependency streetsidesoftware/cspell to v9.6.3 (#67) #163

Update dependency streetsidesoftware/cspell to v9.6.3 (#67)

Update dependency streetsidesoftware/cspell to v9.6.3 (#67) #163

Workflow file for this run

name: Go CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
- name: Run golangci-lint on ref-impl
uses: golangci/golangci-lint-action@v9
with:
working-directory: ref-impl
- name: Setup Task
uses: arduino/setup-task@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Format
run: task format
- name: Check Diffs
run: git status | grep -q "nothing to commit, working tree clean"
build:
name: Build
runs-on: ubuntu-latest
needs:
- lint
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Setup Task
uses: arduino/setup-task@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Mod Download
run: go mod download
- name: Build
run: task build-go