
* ci: add dependabot * ci: revamp logic Merge username and password as a single auth token. It doesn't make sense to split out the user and password since they are so tied together. Might as well treat the whole think as a secret blob. Remove Travis-CI. Travis is dead for OSS. Add GitHub Actions cron. Remove cachix as it's pushing too much stuff. Merge all of the CI logic into a single ci.sh script.
26 lines
557 B
YAML
26 lines
557 B
YAML
name: Nix
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# Run once per day
|
|
- cron: '0 0 * * *'
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
channel:
|
|
- nixos-unstable
|
|
- nixos-20.09
|
|
- nixos-20.03
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: cachix/install-nix-action@v12
|
|
- run: nix-shell --run ./ci.sh
|
|
env:
|
|
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
|
|
NIXPKGS_CHANNEL: '${{ matrix.channel }}'
|