Skip to content

Commit

Permalink
chore(ci): switch to determinatesystems installer
Browse files Browse the repository at this point in the history
They have some MacOS fixes that are otherwise causing random
flakes.
  • Loading branch information
dpc committed Feb 7, 2025
1 parent e50554a commit ff3bdfe
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 74 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci-backwards-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ jobs:
- uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/ci-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ jobs:
- uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
Expand Down
57 changes: 8 additions & 49 deletions .github/workflows/ci-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,7 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
Expand Down Expand Up @@ -99,13 +94,7 @@ jobs:
- uses: actions/checkout@v4
if: github.event_name != 'pull_request' || matrix.build-in-pr

- uses: cachix/install-nix-action@v30
if: github.event_name != 'pull_request' || matrix.build-in-pr
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
if: github.event_name != 'pull_request' || matrix.build-in-pr
with:
Expand Down Expand Up @@ -149,13 +138,8 @@ jobs:
if: github.event_name != 'pull_request' || matrix.build-in-pr
uses: ./.github/actions/prepare

- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/nix-installer-action@v16
if: github.event_name != 'pull_request' || matrix.build-in-pr
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: cachix/cachix-action@v15
if: github.event_name != 'pull_request' || matrix.build-in-pr
with:
Expand Down Expand Up @@ -233,12 +217,7 @@ jobs:
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
Expand Down Expand Up @@ -266,12 +245,7 @@ jobs:
- uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
Expand Down Expand Up @@ -347,13 +321,8 @@ jobs:
- uses: actions/checkout@v4
if: github.event_name != 'pull_request' || matrix.build-in-pr

- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/nix-installer-action@v16
if: github.event_name != 'pull_request' || matrix.build-in-pr
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15

- uses: cachix/cachix-action@v15
if: github.event_name != 'pull_request' || matrix.build-in-pr
Expand Down Expand Up @@ -383,12 +352,7 @@ jobs:
- name: Prepare
uses: ./.github/actions/prepare
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
Expand Down Expand Up @@ -507,12 +471,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/hourly-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,7 @@ jobs:

- uses: actions/checkout@v4

- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16

- uses: cachix/cachix-action@v15
with:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@ jobs:
- uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
connect-timeout = 15
stalled-download-timeout = 15
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: fedimint
Expand Down

0 comments on commit ff3bdfe

Please sign in to comment.