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 - 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

View file

@ -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"

View file

@ -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