Merge pull request #61 from MinaFoundation/dep-updates #291
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
name: Build | |
on: | |
push: | |
branches: | |
- main | |
# tags: | |
# - '*' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: minafoundation-default-runners | |
steps: | |
- name: 📥 Checkout | |
uses: actions/checkout@v3 | |
- name: 📥 Update Git Submodules | |
run: | | |
git submodule init | |
git submodule update | |
- name: 📦 Install Nix | |
uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: 🛠️ Build | |
run: nix-shell --run "make build" | |
- name: 🛠️ Build Docker | |
env: | |
TAG: uptime-service-backend-test | |
run: nix-shell --run "make docker" | |
- name: 🧪 Test | |
run: nix-shell --run "make test" |