Bump js-yaml from 3.13.1 to 3.14.2 #26
This file contains hidden or 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: "Smoke test Terraform module" | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Setup | |
| - uses: actions/[email protected] | |
| - uses: cachix/install-nix-action@v13 | |
| with: | |
| nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17.tar.gz | |
| - run: nix-env -if default.nix | |
| # Tests | |
| - run: terraform fmt -check terraform/ | |
| - run: terraform init terraform/ | |
| - run: terraform validate terraform/ | |
| - run: |- | |
| terraform plan \ | |
| -var 'auth_server_clientkey=fjkdsalfjdskal3784291732841' \ | |
| -var 'auth_server_clientsecret=kfsdlja_327418kalfjdksalh_789' \ | |
| -out plan \ | |
| terraform/ | |
| - run: terraform show -json plan > plan.json | |
| - name: Check the users generated by terraform pass the schema | |
| run: jsonschema -i <(jq -r '.configuration.root_module.variables.portal_users.default' plan.json) src/imports/users.schema.json |