Skip to content

Commit

Permalink
fix(ci): Drop use of retry since things rarely fail nowadays
Browse files Browse the repository at this point in the history
  • Loading branch information
etu committed May 3, 2024
1 parent f30adbd commit 5a817f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,4 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# Build systems.
- name: Build system derivation
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_minutes: 60
command: 'nix build .#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel'
run: 'nix build .#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel'
6 changes: 1 addition & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ jobs:

# Build systems.
- name: Build system derivation
uses: nick-fields/retry@v3
with:
max_attempts: 2
timeout_minutes: 60
command: 'nix build .#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel'
run: 'nix build .#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel'

# Configure SSH key
- uses: shimataro/ssh-key-action@v2
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,7 @@ jobs:

# Build systems.
- name: Build system derivation
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_minutes: 60
command: 'nix build .#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel'
run: 'nix build .#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel'

cache-shell:
name: Cache nix shell
Expand Down Expand Up @@ -171,11 +167,7 @@ jobs:

# Build systems.
- name: Build system derivation
uses: nick-fields/retry@v3
with:
max_attempts: 2
timeout_minutes: 30
command: 'nix build .#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel'
run: 'nix build .#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel'

# Configure SSH key
- uses: shimataro/ssh-key-action@v2
Expand Down

0 comments on commit 5a817f2

Please sign in to comment.