2023-08-23 20:17:20 +03:00
|
|
|
name: "CI"
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
jobs:
|
|
|
|
checks:
|
2024-06-15 00:23:23 +03:00
|
|
|
runs-on: ${{ matrix.system }}
|
|
|
|
permissions:
|
|
|
|
contents: read
|
2023-08-30 10:52:56 +03:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-06-15 00:23:23 +03:00
|
|
|
system: [
|
|
|
|
x86_64-linux,
|
|
|
|
aarch64-darwin
|
|
|
|
# See https://github.com/juspay/services-flake/issues/231
|
|
|
|
# x86_64-darwin
|
|
|
|
]
|
2023-08-23 20:17:20 +03:00
|
|
|
steps:
|
2024-03-07 18:17:29 +03:00
|
|
|
- uses: actions/checkout@v4
|
2024-06-15 00:23:23 +03:00
|
|
|
- run: nixci --extra-access-tokens ${{ secrets.GITHUB_TOKEN }} build --systems "github:nix-systems/${{ matrix.system }}"
|