run ci on darwin and add dependabot

This commit is contained in:
Artturin 2022-04-19 00:47:55 +03:00
parent 10ba38ddd8
commit b858758baf
2 changed files with 16 additions and 5 deletions

6
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

View File

@ -1,11 +1,16 @@
name: "Test"
on:
pull_request:
pull_request_target:
push:
branches:
- 'master'
jobs:
tests:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v16
- run: nix build -L -f . -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz --show-trace --experimental-features 'nix-command flakes'
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
- run: nix build --extra-experimental-features nix-command -L -f . -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz --show-trace