Merge pull request #35 from jkoelker/renovate/docker-metadata-action-… #79
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: CI | |
"on": | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
# yamllint disable-line rule:line-length rule:comments | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Run tests | |
run: make test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
# yamllint disable-line rule:line-length rule:comments | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Run linter | |
run: make lint | |
tidy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
# yamllint disable-line rule:line-length rule:comments | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Check go mod tidy | |
run: make tidy-ci | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
# yamllint disable-line rule:line-length rule:comments | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Build binary | |
run: make docker-build |