Merge pull request #36 from GO-EUC/rework #40
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: Continuous Integration | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: YAML lint on Ansible | |
run: yamllint -c ./tests/ymllint/config.yml ./ansible | |
- name: PSScriptAnalyzer on Ansible | |
run: pwsh -Command Invoke-ScriptAnalyzer -Path "./ansible/*" -Setting "./tests/psscript/config.psd1" -EnableExit | |
- name: TFLint for Terraform | |
continue-on-error: true # added to ignore the outcome for now as there needs to be a lot adjusted | |
run: | | |
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash | |
tflint --recursive |