[wip] support for custom service name (and disabling) #18
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: test oras-operator | |
on: | |
pull_request: [] | |
jobs: | |
formatting: | |
name: Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup black linter | |
run: conda create --quiet --name black pyflakes | |
- name: Check Spelling | |
uses: crate-ci/typos@7ad296c72fa8265059cc03d1eda562fbdfcd6df2 # v1.9.0 | |
with: | |
files: ./README.md ./docs/*.md ./docs/*/*.md ./docs/*/*/*.md | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.19 | |
- name: fmt check | |
run: make fmt | |
# These aren't written yet | |
- name: Run Unit tests | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make test | |
# Ensure build-config is the same as the one we have | |
- name: Check Updated oras-operator.yaml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
cp examples/dist/oras-operator.yaml /tmp/oras-operator.yaml | |
make build-config | |
diff examples/dist/oras-operator.yaml /tmp/oras-operator.yaml |