Update CI workflows and increase dependabot frequency #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- ubuntu-24.04-arm | |
- macos-latest | |
- macos-13 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- name: Install nix and flakes | |
uses: DeterminateSystems/nix-installer-action@v17 | |
- name: Setup cachix cache | |
uses: cachix/cachix-action@v16 | |
with: | |
name: nichijou | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
extraPullNames: nix-community,numtide | |
- name: Build package | |
run: nix build --no-link |