Skip to content

Fix: append .exe extension to default output filename on Windows #244

Fix: append .exe extension to default output filename on Windows

Fix: append .exe extension to default output filename on Windows #244

Workflow file for this run

name: Integration
on:
workflow_dispatch:
pull_request:
branches: ["main", "master"]
permissions: {}
jobs:
integration:
name: Integration
runs-on: ubuntu-latest
env:
GORELEASER_VERSION: "2.13.3"
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: true
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
with:
go-version: "1.25.x"
cache: false
- name: GoReleaser build
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
with:
version: ${{ env.GORELEASER_VERSION }}
args: build --clean --snapshot --single-target --id xk6
- name: Setup Bats
uses: bats-core/bats-action@77d6fb60505b4d0d1d73e48bd035b55074bbfb43 # 4.0.0
with:
bats-version: "1.13.0"
support-install: false
assert-install: false
detik-install: false
file-install: false
- name: Setup govulncheck
env:
GOVULNCHECK_VERSION: v1.1.4
run: |
go install golang.org/x/vuln/cmd/govulncheck@${GOVULNCHECK_VERSION}
- name: Setup gosec
env:
GOSEC_VERSION: v2.23.0
run: |
go install github.com/securego/gosec/v2/cmd/gosec@${GOSEC_VERSION}
- name: Run tests
run: |
cat >> $GITHUB_STEP_SUMMARY <<END
### Integration Test
END
set -e
bats it/test | tee -a $GITHUB_STEP_SUMMARY