Skip to content

feat(ci): add release pipeline flow #9

feat(ci): add release pipeline flow

feat(ci): add release pipeline flow #9

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: '.go-version'
- name: Build
run: make build
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: '.go-version'
- name: Test
run: make test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: '.go-version'
- name: lint-go
uses: golangci/golangci-lint-action@v6.1.0
with:
version: latest
e2e-test:
name: E2E Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: '.go-version'
- name: Run E2E tests
run: make test-e2e
artifacts:
name: Artifacts
uses: ./.github/workflows/artifacts.yaml

Check failure on line 77 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yaml (Line: 77, Col: 11): Error from called workflow csatib02/kube-pod-autocomplete/.github/workflows/artifacts.yaml@02007d6695a1eb2f38334a3fa39e59f9a2bd43be (Line: 65, Col: 13): The identifier 'build' may not be used more than once within the same scope.
with:
publish: false
permissions:
contents: read
packages: write