Skip to content

Update dependencies and switch to go 1.24 #16

Update dependencies and switch to go 1.24

Update dependencies and switch to go 1.24 #16

Workflow file for this run

name: Integration
on:
workflow_dispatch:
pull_request:
branches: ["main", "master"]
jobs:
integration:
name: Integration
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Go ${{ vars.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: ${{ vars.GO_VERSION }}
- name: GoReleaser build
uses: goreleaser/goreleaser-action@v6
with:
version: "${{ vars.GORELEASER_VERSION }}"
args: build --clean --snapshot --single-target --id xk6
- name: Setup Bats
uses: bats-core/[email protected]
with:
bats-version: "${{ vars.BATS_VERSION }}"
- name: Setup govulncheck
run: |
go install golang.org/x/vuln/cmd/govulncheck@${{ vars.GOVULNCHECK_VERSION }}
- name: Setup gosec
run: |
go install github.com/securego/gosec/v2/cmd/gosec@${{ vars.GOSEC_VERSION }}
- name: Run tests
run: |
cat >> $GITHUB_STEP_SUMMARY <<END
### Integration Test
END
set -e
bats it/test | tee -a $GITHUB_STEP_SUMMARY