mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
30 lines
No EOL
575 B
YAML
30 lines
No EOL
575 B
YAML
name: ci
|
|
on: push
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: test
|
|
run: make docker-test
|
|
|
|
- name: build
|
|
run: make docker-build-static
|
|
|
|
- name: acceptance-test
|
|
run: make docker-acceptance
|
|
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
needs: test
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: goreleaser
|
|
run: make release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |