Skip to content

cicd: added Release workflow #9

cicd: added Release workflow

cicd: added Release workflow #9

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
- "feat/**"
- "refactor/**"
- "fix/**"
pull_request:
branches:
- "main"
workflow_dispatch:
permissions: write-all
jobs:
ci:
runs-on: ubuntu-22.04
strategy:
matrix:
goversion:
- "1.23.0"
steps:
- uses: Kesin11/actions-timeline@v2
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.goversion }}
cache: true
cache-dependency-path: go.sum
- name: golangci-lint with reviedog
uses: reviewdog/action-golangci-lint@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
level: warning
golangci_lint_flags: "--config=.golangci.yaml"
- name: Setup Minikube
uses: manusa/actions-setup-minikube@v2.13.0
with:
driver: "docker"
minikube version: "v1.34.0"
kubernetes version: "v1.31.1"
- name: Install kubectl-create-transient_configmap
run: |
go install .
- name: Run Tests
working-directory: ./tests/e2e
run: |
eval $(minikube docker-env)
./test.sh 2 0
./test.sh 1 1