mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 09:13:55 -05:00
github: pull latest actions from master/main
This commit is contained in:
parent
c3be1f9ad2
commit
310008860c
8
.github/workflows/flake-checks.yml
vendored
8
.github/workflows/flake-checks.yml
vendored
|
@ -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
|
||||||
|
|
4
.github/workflows/flake-update-inputs.yml
vendored
4
.github/workflows/flake-update-inputs.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
6
.github/workflows/git-sync-mirrors.yml
vendored
6
.github/workflows/git-sync-mirrors.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue