Skip to content

Stop using dot-imports in tests #34

Stop using dot-imports in tests

Stop using dot-imports in tests #34

Workflow file for this run

name: go
on:
push:
pull_request:
jobs:
lint:
strategy:
matrix:
# removing windows-2019 until go-bindata can be generated
os: [ubuntu-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: generate fake go-bindata for assets package
if: ${{ matrix.os != 'windows-2019' }}
run: |
go run github.com/go-bindata/go-bindata/go-bindata \
-o assets/stemcell_automation.go \
-pkg assets \
-prefix assets \
<(echo 'fake assets')
# - uses: golangci/golangci-lint-action@v3
# if: ${{ matrix.os == 'windows-2019' }}
- uses: golangci/golangci-lint-action@v3
if: ${{ matrix.os != 'windows-2019' }}