github: simplify step names

This commit is contained in:
Aly Raffauf 2024-07-14 17:04:17 -04:00
parent 310008860c
commit b6b231df2f
3 changed files with 8 additions and 14 deletions

View file

@ -12,9 +12,8 @@ jobs:
- 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
- uses: DeterminateSystems/nix-installer-action@main
- name: Check formatting
run: nix fmt -- -c .
eval-check:
runs-on: ubuntu-latest
@ -22,7 +21,6 @@ jobs:
- uses: actions/checkout@main
with:
fetch-depth: 1
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: check if flake evaluates
- uses: DeterminateSystems/nix-installer-action@main
- name: Check flake evaluation
run: nix flake check

View file

@ -15,10 +15,8 @@ jobs:
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/update-flake-lock@main
with:
token: ${{ secrets.FLAKE_UPDATE_PAT }}
pr-title: "flake: update inputs"

View file

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