Files
bootstrap_windows_env/.github/workflows/integration-test.yml
T

22 lines
536 B
YAML

name: integration-test
on:
pull_request:
workflow_dispatch:
jobs:
build-and-run:
name: Build and run
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Build
run: |
New-Item -ItemType Directory -Force dist | Out-Null
go build -o dist/bootstrap_windows_env.exe ./cmd/bootstrap_windows_env
- name: Run
run: ./dist/bootstrap_windows_env.exe --yes --headless --no-wsl