From 4804d394a8ce06c90b3059d6dfbcd4c472a876ce Mon Sep 17 00:00:00 2001 From: Frederik Kriewitz Date: Fri, 28 Jun 2024 09:17:34 +0200 Subject: [PATCH] update workflows --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pytest.yml | 4 ++-- shell.nix | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de7abde..079d88e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,8 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 - - uses: cachix/install-nix-action@v13 + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v27 with: nix_path: nixpkgs=channel:nixos-unstable - run: nix-shell --command "mypy audiobookdl" diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 6c53537..6bbd949 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -8,8 +8,8 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 - - uses: cachix/install-nix-action@v13 + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v27 with: nix_path: nixpkgs=channel:nixos-unstable - run: nix-shell --command "python3 -m pytest" diff --git a/shell.nix b/shell.nix index 965c3a9..6c28b6f 100644 --- a/shell.nix +++ b/shell.nix @@ -17,6 +17,7 @@ mkShell { tomli attrs pycountry + urllib3-2.2.2 # Test pytest