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