Minor fixes for the scripts and documentation #2007
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
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master, develop] | |
jobs: | |
build: | |
name: build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: cachix/install-nix-action@v27 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: wire-server | |
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}" | |
- name: Build the environment | |
run: nix-build -A env | |
- name: Install the environment | |
run: nix-env -f . -A env -i | |
- name: Install terraform | |
uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: "^1.3.7" | |
terraform_wrapper: false | |
- name: Check terraform init | |
run: | | |
cd terraform/environment | |
terraform init --backend=false |