This repository was archived by the owner on May 30, 2026. It is now read-only.
Merge pull request #34 from berquerant/dependabot/go_modules/github.c… #85
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 | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: | |
| - "1.24" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4.2.2 | |
| - name: Setup Go ${{ matrix.go-version }} | |
| uses: actions/setup-go@v5.5.0 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| check-latest: true | |
| cache-dependency-path: go.sum | |
| - name: Display Go version | |
| run: go version | |
| - name: Lint | |
| run: ./task lint | |
| - name: Test | |
| run: ./task test | |
| - name: Build | |
| run: ./task build |