From 63e71063b1d31dbe30f93f3627f2fe9c922493e2 Mon Sep 17 00:00:00 2001 From: Luis Pedro Coelho Date: Tue, 1 Oct 2024 23:05:30 +1000 Subject: [PATCH] TST Update tests - Newer Github actions - Newer haskell.nix - Newer versions of Python --- .github/workflows/build_haskell_w_nix.yml | 6 +++--- .github/workflows/build_python_w_nix.yml | 8 ++++---- default.nix | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_haskell_w_nix.yml b/.github/workflows/build_haskell_w_nix.yml index 989f1e2..76ae2ae 100644 --- a/.github/workflows/build_haskell_w_nix.yml +++ b/.github/workflows/build_haskell_w_nix.yml @@ -6,14 +6,14 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.4.0 - - uses: cachix/install-nix-action@v16 + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v25 with: nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: | trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= substituters = https://cache.nixos.org https://nix-community.cachix.org https://hydra.iohk.io - - uses: cachix/cachix-action@v10 + - uses: cachix/cachix-action@v14 with: name: luispedro # If you chose API tokens for write access OR if you have a private cache diff --git a/.github/workflows/build_python_w_nix.yml b/.github/workflows/build_python_w_nix.yml index 178ef6d..c4bd859 100644 --- a/.github/workflows/build_python_w_nix.yml +++ b/.github/workflows/build_python_w_nix.yml @@ -8,20 +8,20 @@ jobs: strategy: matrix: python-version: - - python37 - python38 - python39 - python310 + - python311 steps: - - uses: actions/checkout@v2.4.0 - - uses: cachix/install-nix-action@v16 + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v25 with: nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: | trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= substituters = https://cache.nixos.org https://nix-community.cachix.org https://hydra.iohk.io - - uses: cachix/cachix-action@v10 + - uses: cachix/cachix-action@v14 with: name: luispedro # If you chose API tokens for write access OR if you have a private cache diff --git a/default.nix b/default.nix index 2b70927..63929a4 100644 --- a/default.nix +++ b/default.nix @@ -3,8 +3,8 @@ let sources = { haskellNix = builtins.fetchTarball { name = "haskell-nix-snap"; - url = "https://github.com/input-output-hk/haskell.nix/archive/17e5f35d56c57b20ba2397010fcd4032fb6acc2b.tar.gz"; - sha256 = "0b3pwrib289bhidv1q27k6k53zwyahdffi2ynww19qnviqwlm21a"; + url = "https://github.com/input-output-hk/haskell.nix/archive/c689f01730e5b6c6c16d3947a15689569844c38c.tar.gz"; + sha256 = "09lw2419a5dd9g0ja31hjfqf6d4bzcgr5mrqx0vrvlksmp7a1kzk"; }; };