feat: Merge user provided bootstrap config with the generated one #229
This file contains hidden or 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: Unit Tests & Code Quality | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
go-tests: | |
name: Go Unit Tests & Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v8 | |
with: | |
version: v2.3.0 | |
- name: Unit Tests | |
run: make test-unit | |
release-mgmt-tests: | |
name: Release management tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@v2 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' | |
- run: pip install tox | |
- name: "Formatting tests" | |
run: | | |
cd hack/release_promotion | |
tox -e format | |
- name: "Lint tests" | |
run: | | |
cd hack/release_promotion | |
tox -e lint | |
- name: "Unit tests" | |
run: | | |
cd hack/release_promotion | |
tox -e unit |