Docs/cloud native days 2026 #19
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: Tests | |
| on: | |
| pull_request: | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24" | |
| - name: Run golangci-lint | |
| uses: golangci/golangci-lint-action@v7 | |
| continue-on-error: true | |
| with: | |
| version: latest | |
| args: --timeout 5m --verbose | |
| - name: Unit tests | |
| run: go test -v ./... | |
| linting: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Run hadolint | |
| id: hadolint | |
| uses: hadolint/hadolint-action@v3.1.0 | |
| - name: Run golangci-lint | |
| uses: golangci/golangci-lint-action@v7 | |
| continue-on-error: true | |
| with: | |
| version: latest | |
| args: --timeout 5m --verbose |