feat(syncer): support authentication between syncer and control-plane #422
Workflow file for this run
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-pre-merge | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23 | |
- name: Install errcheck | |
run: go install github.com/kisielk/errcheck@latest | |
- name: Install golint | |
run: go install golang.org/x/lint/golint@latest | |
- name: Install helm-tool | |
run: go install github.com/cert-manager/helm-tool@latest | |
- name: Run tests | |
run: make test | |
- name: Set up Helm | |
uses: Azure/setup-helm@v4 | |
- name: Run lint checks | |
run: make lint | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60 | |
args: --timeout=10m | |
only-new-issues: true |