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/**' - '_img/**'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
check-format: fmt-check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@main
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Install Nix - name: Install Nix
uses: DeterminateSystems/nix-installer-action@main uses: DeterminateSystems/nix-installer-action@main
- name: check if flake complies with default style - name: check if flake complies with default style
run: nix fmt -- -c . run: nix fmt -- -c .
check-eval: eval-check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@main
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Install Nix - name: Install Nix

View file

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

View file

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

View file

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