doc(README): correct example #21
This file contains 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 | |
on: | |
push: | |
branches: | |
- "main" | |
- "feat/**" | |
- "refactor/**" | |
- "fix/**" | |
pull_request: | |
branches: | |
- "main" | |
workflow_dispatch: | |
permissions: write-all | |
jobs: | |
ci: | |
runs-on: ubuntu-24.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 |