forked from DGNum/infrastructure
feat(workflows): Test
This commit is contained in:
parent
4de8abc45b
commit
351ea9c90a
1 changed files with 12 additions and 12 deletions
|
@ -2,26 +2,26 @@ name: npins update
|
|||
on:
|
||||
schedule:
|
||||
# Run at 11 o'clock every wednesday
|
||||
- cron: "00 11 * * 3"
|
||||
- cron: "25 15 * * *"
|
||||
|
||||
jobs:
|
||||
npins_update:
|
||||
runs-on: debian-latest
|
||||
runs-on: nix
|
||||
steps:
|
||||
- name: Install applications
|
||||
run: apt-get update && apt-get install sudo
|
||||
|
||||
# - name: Install applications
|
||||
# run: apt-get update && apt-get install sudo
|
||||
#
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
depth: 0
|
||||
#
|
||||
# - uses: https://github.com/cachix/install-nix-action@v22
|
||||
# with:
|
||||
# nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- uses: https://github.com/cachix/install-nix-action@v22
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: Install npins and tea
|
||||
run: |
|
||||
nix-env -f '<nixpkgs>' -i npins tea
|
||||
# - name: Install tea
|
||||
# run: |
|
||||
# nix-env -f '<nixpkgs>' -i tea
|
||||
|
||||
- name: Update dependencies and open PR if necessary
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue