Skip to content

Merge pull request #59 from MinaFoundation/fix-docker-publish #286

Merge pull request #59 from MinaFoundation/fix-docker-publish

Merge pull request #59 from MinaFoundation/fix-docker-publish #286

Workflow file for this run

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"