M2b: setup stage — pull tahoe:26-base + fast-boot to Setup Assistant … #8
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: lint | |
| on: | |
| push: | |
| branches: ['*'] | |
| paths-ignore: | |
| - 'os-image/**' | |
| - 'scripts/**' | |
| pull_request: | |
| paths-ignore: | |
| - 'os-image/**' | |
| - 'scripts/**' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout cocoon-macos | |
| uses: actions/checkout@v5 | |
| - name: Checkout cocoon (dependency) | |
| uses: actions/checkout@v5 | |
| with: | |
| repository: cocoonstack/cocoon | |
| path: _cocoon | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Point replace at in-workspace cocoon | |
| run: go mod edit -replace github.com/cocoonstack/cocoon=./_cocoon | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: v2.9.0 | |
| - name: Check formatting | |
| run: golangci-lint fmt --diff |