Skip to content

fix: clean up and test parameter binding #3731

fix: clean up and test parameter binding

fix: clean up and test parameter binding #3731

Workflow file for this run

name: CI
on:
push: {}
pull_request: {}
workflow_dispatch: {}
permissions:
contents: read
jobs:
build:
uses: oapi-codegen/actions/.github/workflows/ci.yml@6cf35d4f044f2663dae54547ff6d426e565beb48 # v0.6.0
with:
lint_versions: '["1.26"]'
build-binaries:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
version:
- "stable"
- "oldstable"
steps:
- name: Check out source code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: ${{ matrix.version }}
- name: Build
run: go build ./cmd/oapi-codegen
env:
# A combination of our GitHub Actions setup, with the Go toolchain, leads to inconsistencies in calling `go env`, in particular with Go 1.21, where having (the default) `GOTOOLCHAIN=auto` results in build failures
GOTOOLCHAIN: local