From 01e9cb60cfe22fcf24fe02f44954a0941661b6bd Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Tue, 22 Oct 2024 23:31:14 +0200 Subject: [PATCH] workflows: update cargo dependencies correctly (#37) --- .github/workflows/build_nix.yml | 6 ------ .github/workflows/update.yml | 2 -- 2 files changed, 8 deletions(-) diff --git a/.github/workflows/build_nix.yml b/.github/workflows/build_nix.yml index 36e6d2e..6756b5b 100644 --- a/.github/workflows/build_nix.yml +++ b/.github/workflows/build_nix.yml @@ -3,21 +3,15 @@ on: pull_request: push: jobs: - checkout: - runs-on: self-hosted - steps: - - uses: actions/checkout@v4 check_flurry_package: runs-on: self-hosted steps: - run: nix flake check -L --all-systems build_flurry_package: runs-on: self-hosted - needs: checkout steps: - run: nix build -L build_flurry_shell: runs-on: self-hosted - needs: checkout steps: - run: nix shell -L --command echo 'it works' diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index ff6498b..8909c79 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -13,8 +13,6 @@ jobs: uses: actions/checkout@v4 - run: nix shell nixpkgs#cargo --command cargo update - run: nix shell nixpkgs#git --command git add Cargo.lock - - run: "nix shell nixpkgs#git --command git commit -m 'cargo: update Cargo.lock'" - - run: nix flake update - name: Check flake uses: DeterminateSystems/flake-checker-action@main - run: nix build