Multi provider auth #396
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] | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| - '.gitignore' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| - '.gitignore' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| conventional-commits: | |
| name: Conventional Commits Check | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Conventional Commits | |
| uses: webiny/action-conventional-commits@v1.3.0 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| allowed-commit-types: "feat,fix,cicd,chore,patch,release,test,docs,refactor,ci,dev,test" | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| needs: conventional-commits | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25.3' | |
| cache: true | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: latest | |
| args: --timeout=5m | |
| skip-cache: true | |
| skip-save-cache: true | |
| env: | |
| GOPROXY: https://proxy.golang.org,direct | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| needs: lint | |
| timeout-minutes: 10 | |
| # services: | |
| # cassandra: | |
| # image: cassandra:5 # Use a specific version if needed | |
| # ports: | |
| # - 9042:9042 | |
| # options: >- | |
| # --hostname cassandra | |
| # --health-cmd "cqlsh --debug -e 'DESCRIBE KEYSPACES' || exit 1" | |
| # --health-interval 10s | |
| # --health-timeout 5s | |
| # --health-retries 7 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25.3' | |
| cache: true | |
| - name: Run tests | |
| run: go test -v -cover ./... | |
| # env: | |
| # CASSANDRA_HOSTS: "localhost" | |
| # CASSANDRA_KEYSPACE: "testkeyspace" | |