From b6b231df2f59a9519716802df2b70a154b7c3db5 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 14 Jul 2024 17:04:17 -0400 Subject: [PATCH] github: simplify step names --- .github/workflows/flake-checks.yml | 10 ++++------ .github/workflows/flake-update-inputs.yml | 6 ++---- .github/workflows/git-sync-mirrors.yml | 6 ++---- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/flake-checks.yml b/.github/workflows/flake-checks.yml index 0599a7a7..66c0bfe4 100644 --- a/.github/workflows/flake-checks.yml +++ b/.github/workflows/flake-checks.yml @@ -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 diff --git a/.github/workflows/flake-update-inputs.yml b/.github/workflows/flake-update-inputs.yml index 73b26d37..bf27b23c 100644 --- a/.github/workflows/flake-update-inputs.yml +++ b/.github/workflows/flake-update-inputs.yml @@ -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" diff --git a/.github/workflows/git-sync-mirrors.yml b/.github/workflows/git-sync-mirrors.yml index dd24d2dd..00f700fc 100644 --- a/.github/workflows/git-sync-mirrors.yml +++ b/.github/workflows/git-sync-mirrors.yml @@ -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