Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

refactor: using foreach instead of conventional looping #140

refactor: using foreach instead of conventional looping

refactor: using foreach instead of conventional looping #140

Workflow file for this run

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