mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-11 12:26:04 +03:00
25 lines
764 B
YAML
25 lines
764 B
YAML
name: "CI"
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
jobs:
|
|
checks:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, macos-14]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
with:
|
|
extra-conf: |
|
|
trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
|
substituters = https://cache.garnix.io?priority=41 https://cache.nixos.org/
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- uses: yaxitech/nix-install-pkgs-action@v3
|
|
with:
|
|
packages: "github:srid/nixci"
|
|
- run: nixci
|