apiserver: fix installing dependent libraries upon deploy #81
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
# This workflow must be usable with third-party pull requests, | |
# and thus may not make use of any secrets. | |
name: Code reviews | |
on: | |
workflow_dispatch: {} | |
push: | |
paths-ignore: | |
- '**.md' | |
- .github/workflows/apiserver.yml | |
- apiserver/** | |
jobs: | |
check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: '1.5.7' | |
- name: Install eclint | |
run: npm install -g eclint | |
- name: Check EditorConfig compliance | |
run: eclint check $(git ls-files) | |
- name: Initialize terraform/ | |
run: terraform init -backend=false | |
working-directory: terraform | |
- name: Validate terraform/ | |
run: terraform validate | |
working-directory: terraform | |
- name: Check formatting of terraform/ | |
run: terraform fmt -check -diff -recursive | |
working-directory: terraform | |
- name: Initialize terraform-hisec/ | |
run: terraform init -backend=false | |
working-directory: terraform-hisec | |
- name: Validate terraform-hisec/ | |
run: terraform validate | |
working-directory: terraform-hisec | |
- name: Check formatting of terraform-hisec/ | |
run: terraform fmt -check -diff -recursive | |
working-directory: terraform-hisec |