mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 23:11:55 -05:00
github: simplify step names
This commit is contained in:
parent
310008860c
commit
b6b231df2f
10
.github/workflows/flake-checks.yml
vendored
10
.github/workflows/flake-checks.yml
vendored
|
@ -12,9 +12,8 @@ jobs:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- name: Install Nix
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
- name: Check formatting
|
||||||
- name: check if flake complies with default style
|
|
||||||
run: nix fmt -- -c .
|
run: nix fmt -- -c .
|
||||||
eval-check:
|
eval-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -22,7 +21,6 @@ jobs:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- name: Install Nix
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
- name: Check flake evaluation
|
||||||
- name: check if flake evaluates
|
|
||||||
run: nix flake check
|
run: nix flake check
|
||||||
|
|
6
.github/workflows/flake-update-inputs.yml
vendored
6
.github/workflows/flake-update-inputs.yml
vendored
|
@ -15,10 +15,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
- name: Install Nix
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/update-flake-lock@main
|
||||||
- name: Update flake.lock
|
|
||||||
uses: DeterminateSystems/update-flake-lock@main
|
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.FLAKE_UPDATE_PAT }}
|
token: ${{ secrets.FLAKE_UPDATE_PAT }}
|
||||||
pr-title: "flake: update inputs"
|
pr-title: "flake: update inputs"
|
||||||
|
|
6
.github/workflows/git-sync-mirrors.yml
vendored
6
.github/workflows/git-sync-mirrors.yml
vendored
|
@ -8,12 +8,10 @@ jobs:
|
||||||
gitlab-sync:
|
gitlab-sync:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: check out repository
|
- uses: actions/checkout@main
|
||||||
uses: actions/checkout@main
|
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: "sync gitlab mirror"
|
- uses: yesolutions/mirror-action@master
|
||||||
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