-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update github actions on a daily basis. * New github workflow that updates flake inputs weekly. * Use upstream [flake-utils](https://github.com/numtide/flake-utils) (no need to use the fork) * Use [gitignore.nix](https://github.com/hercules-ci/gitignore.nix) to filter out not needed source files. That * Use [direnv](https://direnv.net/) to automatically enter the nix development environment. * Use [pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/) to force rust and nix formatter. * Use [rust-overlay](https://github.com/oxalica/rust-overlay) to follow latest stable rust compiler. * Use [naersk](https://github.com/nix-community/naersk) to load cargo dependencies from Cargo.lock file.
- Loading branch information
Showing
6 changed files
with
372 additions
and
127 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: update-flake-lock | ||
on: | ||
workflow_dispatch: # allows manual triggering | ||
schedule: | ||
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00 | ||
|
||
jobs: | ||
lockfile: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Install Nix | ||
uses: cachix/install-nix-action@v16 | ||
with: | ||
extra_nix_config: | | ||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | ||
- name: Update flake.lock | ||
uses: DeterminateSystems/update-flake-lock@v8 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
book | ||
/target | ||
/vendor | ||
.idea/ | ||
.vscode/ | ||
/result | ||
/.idea/ | ||
/.vscode/ | ||
/.direnv/ | ||
/.pre-commit-config.yaml |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.