Skip to content

Merge pull request #6 from michaelabon/bump-golangci-lint-1.57.1 #9

Merge pull request #6 from michaelabon/bump-golangci-lint-1.57.1

Merge pull request #6 from michaelabon/bump-golangci-lint-1.57.1 #9

Workflow file for this run

---
name: "CI"
on:
push:
branches:
- main
pull_request:
permissions:
# Required: read access to the content for analysis.
contents: read
# Optional: write access to checks to allow the action to annotate code in the PR.
checks: write
# Optional: read access to pull request. Use with `only-new-issues` option.
pull-requests: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
-
uses: actions/setup-go@v5
with:
cache-dependency-path: "go/go.sum"
go-version-file: "go/go.mod"
-
name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.57.1
working-directory: "./go"
only-new-issues: true
build:
runs-on: macos-latest
steps:
-
uses: actions/checkout@v4
-
uses: actions/setup-go@v5
with:
cache-dependency-path: "go/go.sum"
go-version-file: "go/go.mod"
-
run: >-
brew install
just
mingw-w64
-
run: just build