chore(deps): Bump github.com/go-openapi/swag from 0.24.1 to 0.25.0 (#… #211
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Go [lint, test] | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'master' | |
| paths: | |
| - 'scripts/**' | |
| - 'tools/**' | |
| - '**/*.go' | |
| - '**/*.gohtml' | |
| - '**/*.proto' | |
| - 'go.mod' | |
| - 'go.sum' | |
| - 'Makefile' | |
| - '!**.*md' | |
| - '.github/workflows/**' | |
| - '!.github/workflows/readme-stars.yml' | |
| - 'deployments/docker-compose/go-tools-docker-compose.yml' | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| branches: | |
| - '*' | |
| paths: | |
| - 'scripts/**' | |
| - 'tools/**' | |
| - '**/*.go' | |
| - '**/*.gohtml' | |
| - '**/*.proto' | |
| - 'go.mod' | |
| - 'go.sum' | |
| - 'Makefile' | |
| - '!**.*md' | |
| - '.github/workflows/**' | |
| - '!.github/workflows/readme-stars.yml' | |
| jobs: | |
| build-lint: | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 3 | |
| matrix: | |
| os: [ 'ubuntu-24.04' ] | |
| go-version: [1.24.x] | |
| runs-on: ${{ matrix.os }} | |
| name: Build | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up go | |
| uses: actions/[email protected] | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - run: | | |
| go version | |
| shell: bash | |
| - name: Set up cache | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: cache-vendored-tools-${{ secrets.CACHE_VERSION }} | |
| with: | |
| path: | | |
| ${{ env.GOBIN }} | |
| ~/.cache/go-build | |
| ~/go/pkg/mod | |
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/tools/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/tools/go.sum') }} | |
| - name: Install tools | |
| run: | | |
| make install-tools | |
| shell: bash | |
| - name: Vet | |
| run: | | |
| make vet | |
| shell: bash | |
| - name: Lint | |
| run: | | |
| make lint-full | |
| shell: bash | |