github: pull latest actions from master/main

This commit is contained in:
Aly Raffauf 2024-07-14 17:00:41 -04:00
parent c3be1f9ad2
commit 310008860c
4 changed files with 10 additions and 10 deletions

View file

@ -6,20 +6,20 @@ on:
- '_img/**'
workflow_dispatch:
jobs:
check-format:
fmt-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@main
with:
fetch-depth: 1
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: check if flake complies with default style
run: nix fmt -- -c .
check-eval:
eval-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@main
with:
fetch-depth: 1
- name: Install Nix

View file

@ -4,10 +4,10 @@ on:
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
update-inputs:
inputs-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@main
with:
ref: ${{ github.head_ref }}
fetch-depth: 1

View file

@ -10,7 +10,7 @@ jobs:
id-token: "write"
contents: "read"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@main"
- uses: "DeterminateSystems/nix-installer-action@main"
- uses: "DeterminateSystems/flakehub-push@main"
with:

View file

@ -5,15 +5,15 @@ on:
- master
workflow_dispatch:
jobs:
sync-gitlab:
gitlab-sync:
runs-on: ubuntu-latest
steps:
- name: check out repository
uses: actions/checkout@v4
uses: actions/checkout@main
with:
fetch-depth: 0
- name: "sync gitlab mirror"
uses: yesolutions/mirror-action@v0.7.0
uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitlab.com/alyraffauf/nixcfg.git'
GIT_USERNAME: alyraffauf