-
Notifications
You must be signed in to change notification settings - Fork 44
36 lines (35 loc) · 917 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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