refactor: using foreach instead of conventional looping #140
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 (Dagger) | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| name: Golangci-lint | |
| runs-on: ubuntu-latest | |
| if: '! github.event.pull_request.draft' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Run pipeline | |
| uses: dagger/[email protected] | |
| with: | |
| version: "0.19.4" | |
| verb: call | |
| args: golangci-lint-run | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| if: '! github.event.pull_request.draft' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Run pipeline | |
| uses: dagger/[email protected] | |
| with: | |
| version: "0.19.4" | |
| verb: call | |
| args: test-with-coverage | |
| e2e-test: | |
| name: E2E Test | |
| runs-on: ubuntu-latest | |
| if: '! github.event.pull_request.draft' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Run pipeline | |
| uses: dagger/[email protected] | |
| with: | |
| version: "0.19.4" | |
| verb: call | |
| args: e-2-e-test | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| if: '! github.event.pull_request.draft' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Build image | |
| uses: dagger/[email protected] | |
| with: | |
| version: "0.19.4" | |
| verb: call | |
| args: build |