![Martin Wimpress](/assets/img/avatar_default.png)
* DS-970: Add Magic Nix Cache and other workflow changes An assortment of GitHub Workflow changes, potentially including: - Enable DeterminateSystems/magic-nix-cache-action@main - Reference all DeterminateSystems actions via @main - Make update.yaml consistent across repos - Remove unnecessary github-token: from nix-installer-action - Update actions/checkout@v2 to actions/checkout@v3 * ci: clearly name steps in update.yml
21 lines
554 B
YAML
21 lines
554 B
YAML
name: update-flake-lock
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * 0'
|
|
|
|
jobs:
|
|
lockfile:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/nix-installer-action@main
|
|
- name: Enable magic Nix cache
|
|
uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- name: Check flake
|
|
uses: DeterminateSystems/flake-checker-action@main
|
|
- name: Update flake.lock
|
|
uses: DeterminateSystems/update-flake-lock@main
|