Skip to content

Restructure go packages #189

Restructure go packages

Restructure go packages #189

Workflow file for this run

name: go
on:
push:
pull_request:
jobs:
lint:
strategy:
matrix:
os: [windows-2019, ubuntu-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Provide `StemcellAutomation.zip` for `go:embed` consumption in `assets` package
run: |
make generate-fake-stemcell-automation
- uses: golangci/golangci-lint-action@v6
if: ${{ matrix.os == 'windows-2019' }}
- uses: golangci/golangci-lint-action@v6
if: ${{ matrix.os != 'windows-2019' }}
with:
args: --enable goimports