Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Fix path to stemcell-automation scripts #282

Fix path to stemcell-automation scripts

Fix path to stemcell-automation scripts #282

Workflow file for this run

name: go
on:
push:
pull_request:
jobs:
lint:
strategy:
matrix:
os: [windows-2019, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: stembuild/go.mod
- name: Provide `StemcellAutomation.zip` for `go:embed` consumption in `assets` package
run: |
make generate-fake-stemcell-automation
working-directory: stembuild
- uses: golangci/golangci-lint-action@v7
with:
working-directory: stembuild
test:
strategy:
matrix:
os: [windows-2019, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: stembuild/go.mod
- name: Provide `StemcellAutomation.zip` for `go:embed` consumption in `assets` package
run: |
make generate-fake-stemcell-automation
working-directory: stembuild
# skip specs for "packager", "ovftool" because "ovftool" be installed
- run: |
go run github.com/onsi/ginkgo/v2/ginkgo run -r --keep-going --randomize-all --randomize-suites --skip-package integration,iaas_cli,ovftool,packager
working-directory: stembuild