mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-11 12:26:04 +03:00
24 lines
588 B
YAML
24 lines
588 B
YAML
name: "CI"
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
jobs:
|
|
checks:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
# Don't upgrade Nix until https://github.com/srid/nixci/issues/35 is fixed
|
|
- uses: cachix/install-nix-action@v22
|
|
- run: nix --version
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- uses: yaxitech/nix-install-pkgs-action@v3
|
|
with:
|
|
inputs-from: ./dev
|
|
packages: "nixpkgs#nixci"
|
|
- run: nixci
|