fix(deps): update module gitlab.com/gitlab-org/api/client-go to v1.46.0 - autoclosed #564
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| GO_VERSION: 1.26 | |
| jobs: | |
| conventional-commits-check: | |
| name: Check conventional commits | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name == 'pull_request' }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup NodeJS | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6 | |
| with: | |
| node-version: 24 | |
| - name: Setup @commitlint | |
| run: | | |
| npm install --global @commitlint/[email protected] @commitlint/[email protected] | |
| echo 'module.exports = {extends: ["@commitlint/config-conventional"]}' > commitlint.config.js | |
| - name: Run @commitlint | |
| run: | | |
| npx commitlint \ | |
| --from ${{ github.event.pull_request.base.sha }} \ | |
| --to ${{ github.event.pull_request.head.sha }} \ | |
| --verbose | |
| unit-tests: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup Golang | |
| uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6 | |
| with: | |
| go-version: "${{ env.GO_VERSION }}" | |
| - name: Run tests | |
| run: make test | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup Golang | |
| uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6 | |
| with: | |
| go-version: "${{ env.GO_VERSION }}" | |
| cache: false | |
| - name: Run gloangci-lint | |
| uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9 | |
| build: | |
| name: Build | |
| uses: ./.github/workflows/build-and-push.yaml |