fix(nix-actions): now steps are under lib

This commit is contained in:
catvayor 2025-03-09 21:29:59 +01:00 committed by thubrecht
parent 6449fcc87e
commit c705ba8176
3 changed files with 2 additions and 3 deletions

View file

@ -5,7 +5,6 @@ jobs:
runs-on: nix
steps:
- uses: actions/checkout@v3
with: {}
- name: Check that the workflows are up to date
run: nix-shell -A check-workflows --run '[ $(git status --porcelain | wc -l)
-eq 0 ]'

View file

@ -15,7 +15,7 @@
check_workflows = {
runs-on = "nix";
steps = [
(nix-actions.steps.checkout { })
(nix-actions.lib.steps.checkout { })
{
name = "Check that the workflows are up to date";
run = nix-actions.lib.nix-shell {

View file

@ -31,7 +31,7 @@ in
genAttrs dependencies (name: {
runs-on = "nix";
steps = [
(nix-actions.steps.checkout {
(nix-actions.lib.steps.checkout {
fetch-depth = 0;
token = secret "TEA_DGNUM_CHORES_TOKEN";
})