Skip to content

feat: Add Dockerfile for containerization #13

feat: Add Dockerfile for containerization

feat: Add Dockerfile for containerization #13

Workflow file for this run

name: build
on:
pull_request:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
steps:
- name: Checkout new change
uses: actions/checkout@v4
with:
fetch-depth: 1
persist-credentials: true
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v14
with:
name: codgician
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake check --all-systems
- run: nix build