build(deps): bump docker/setup-buildx-action from 3 to 4 #201
Workflow file for this run
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: checks | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - 'release-*' | |
| - 'master' | |
| - 'main' | |
| tags: | |
| - 'v*' | |
| # To cancel running workflow when new commits pushed in a pull request | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check-docs: | |
| runs-on: ubuntu-latest | |
| name: Check Documentation formatting and links | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Import environment variables from file | |
| run: cat ".github/env" >> $GITHUB_ENV | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '${{ env.golang-version }}' | |
| check-latest: true | |
| - run: make swag | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| check-golang: | |
| runs-on: ubuntu-latest | |
| name: Golang linter | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Import environment variables from file | |
| run: cat ".github/env" >> $GITHUB_ENV | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '${{ env.golang-version }}' | |
| check-latest: true | |
| - name: go.mod | |
| run: go mod tidy && git diff --exit-code | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v9.2.0 | |
| with: | |
| version: v2.6.1 | |
| args: --timeout 10m0s | |
| check-format: | |
| runs-on: ubuntu-latest | |
| name: Check format | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Import environment variables from file | |
| run: cat ".github/env" >> $GITHUB_ENV | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '${{ env.golang-version }}' | |
| check-latest: true | |
| - run: make format | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| name: Build binary | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Import environment variables from file | |
| run: cat ".github/env" >> $GITHUB_ENV | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '${{ env.golang-version }}' | |
| check-latest: true | |
| - run: make build-binary |