Skip to content

Commit

Permalink
ci: Init some CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
haruki7049 committed May 5, 2024
1 parent 37763fe commit b65b4a0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/fetch-releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: fetching-releases
on:
schedule:
- cron: '0 */12 * * *'
workflow_dispatch:
jobs:
update-sources:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: ./fetch-releases.py
- uses: stefanzweifel/[email protected]
with:
commit_message: "ci: Update sources.json"
13 changes: 13 additions & 0 deletions .github/workflows/nix-flake-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
on: [push, pull_request]
name: nix-flake-check
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix flake check

- run: ./fetch-releases.py

0 comments on commit b65b4a0

Please sign in to comment.