switch to github actions from travis
This commit is contained in:
parent
0ea1b12b83
commit
b3a39410e7
8 changed files with 56 additions and 52 deletions
12
.github/workflows/pr.yml
vendored
Normal file
12
.github/workflows/pr.yml
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
name: "Test"
|
||||
on:
|
||||
pull_request:
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v12
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- run: ./ci/test.sh
|
||||
22
.github/workflows/update.yml
vendored
Normal file
22
.github/workflows/update.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: "Test"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# chosen by fair dice rolling
|
||||
- cron: '05 4 * * *'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v12
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- run: ./ci/test.sh
|
||||
- name: update nur / nur-combined
|
||||
run: ./ci/update-nur.sh
|
||||
- name: update nur-search/data/packages.json
|
||||
run: ./ci/update-nur-search.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue