Move scripts to justfile
This commit is contained in:
@ -8,10 +8,11 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Terraform
|
||||
uses: hashicorp/setup-terraform@v2
|
||||
- uses: extractions/setup-just@v1
|
||||
- name: Init
|
||||
run: ./scripts/terraform/terraform.sh init -backend=false
|
||||
run: just terraform init -backend=false
|
||||
- name: Lint
|
||||
run: ./scripts/terraform/lint.sh
|
||||
run: just terraform-lint
|
||||
|
||||
ansible:
|
||||
runs-on: ubuntu-latest
|
||||
@ -21,12 +22,13 @@ jobs:
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.11
|
||||
- uses: extractions/setup-just@v1
|
||||
|
||||
# HACK: https://docs.ansible.com/ansible/devel/reference_appendices/config.html#cfg-in-world-writable-dir
|
||||
- name: Fix permissions
|
||||
run: chmod 0755 ansible/
|
||||
|
||||
- name: Set up
|
||||
run: ./scripts/ansible/setup.sh
|
||||
run: just ansible-setup
|
||||
- name: Lint
|
||||
run: ./scripts/ansible/lint.sh
|
||||
run: just ansible-lint
|
||||
|
Reference in New Issue
Block a user