Undeploy traccar #120
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: check | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
- name: Setup terraform | |
uses: hashicorp/[email protected] | |
with: | |
terraform_version: 1.1.8 | |
- name: Setup terraform docs | |
uses: draios/[email protected] | |
- name: Install arkade | |
if: ${{ ! ((github.event_name == 'push') && (github.ref == 'refs/heads/main')) }} | |
uses: alexellis/setup-arkade@v3 | |
- uses: alexellis/arkade-get@master | |
if: ${{ ! ((github.event_name == 'push') && (github.ref == 'refs/heads/main')) }} | |
with: | |
kubectl: latest | |
helm: latest | |
kubeconform: latest | |
kustomize: latest | |
- uses: pre-commit/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check flux resources | |
shell: bash | |
run: .github/workflows/check.sh |