Update flake.lock #101
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
name: Update flake.lock | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 6" # At 00:00 on Saturday | |
# TODO: Add nvfetcher | |
jobs: | |
lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-23.05 | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: truelecter | |
extraPullNames: cuda-maintainers, mic92, nix-community, nrdxp | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: Update nvfetcher packages | |
run: | | |
nix develop '.#ci' --command bash -c "update-cell-sources ALL" | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config user.name "github-actions[bot]" | |
git commit -am "deps(sources): Updated cell sources" | |
- name: Update flake.lock | |
uses: DeterminateSystems/update-flake-lock@v19 | |
with: | |
commit-msg: "deps(flake-lock): Updated flake.lock" | |
pr-title: "[Automated] Update 'flake.lock' and sources" | |
branch: "auto/upgrade-dependencies" | |
pr-labels: | | |
dependencies | |
automated |