Fix WSD CI for the new machine types in hetzner cloud #1908
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: Check terraform init | |
run: | | |
cd terraform/environment | |
terraform init --backend=false |