Skip to content

Merge remote-tracking branch 'origin/main' into fix_test #39

Merge remote-tracking branch 'origin/main' into fix_test

Merge remote-tracking branch 'origin/main' into fix_test #39

Workflow file for this run

name: Test
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.3'
check-latest: true
- name: Creat kind
run: make ci:enable:k8s
- name: Apply Cert Manager
run: make apply-cert-manager
- name: Apply Ingress-Nginx
run: make apply-ingress-nginx
- name: Run tests
run: make test
golangci:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21.3'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.1
args: -v --timeout=10m