Stop using dot-imports in tests #34
This file contains 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: 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' }} |