diff --git a/.github/workflows/build_nix.yml b/.github/workflows/build_nix.yml deleted file mode 100644 index cbbacaa..0000000 --- a/.github/workflows/build_nix.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: "build nix" -on: - pull_request: - push: -jobs: - check_flurry_package: - runs-on: self-hosted - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - run: nix flake check -L --all-systems - build_flurry_package: - runs-on: self-hosted - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - run: nix build -L - build_flurry_shell: - runs-on: self-hosted - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - run: nix shell -L --command echo 'it works' diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 61fef75..0000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: rust build - -on: - push: - pull_request: - workflow_dispatch: - -permissions: - contents: read - -jobs: - check: - name: cargo check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - toolchain: nightly - - run: cargo check - - test: - name: cargo test - runs-on: ubuntu-latest - needs: check - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - toolchain: nightly - - run: cargo test --features all - - - clippy: - name: Clippy - runs-on: ubuntu-latest - if: github.event_name != 'pull_request' - timeout-minutes: 45 - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - toolchain: nightly - components: clippy - - run: cargo clippy --features all --tests -- -Dclippy::all diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml deleted file mode 100644 index c11b019..0000000 --- a/.github/workflows/update.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: update dependencies -on: - workflow_dispatch: # allows manual triggering - schedule: - - cron: '0 4 * * *' # at 04:00 every day - -jobs: - update: - name: Update dependencies - runs-on: self-hosted - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - run: nix shell -L nixpkgs#cargo --command cargo update - - run: nix shell -L nixpkgs#git --command git add Cargo.lock - - name: Check flake - uses: DeterminateSystems/flake-checker-action@main - - run: nix build -L - - name: Update Nix Flake Lock - uses: DeterminateSystems/update-flake-lock@main - with: - pr-title: "flake: update flake.lock" - pr-labels: | - dependencies - automated - token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}