remove github workflows
This commit is contained in:
parent
8f4acac7b3
commit
c7d324b3f4
3 changed files with 0 additions and 94 deletions
23
.github/workflows/build_nix.yml
vendored
23
.github/workflows/build_nix.yml
vendored
|
|
@ -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'
|
||||
45
.github/workflows/rust.yml
vendored
45
.github/workflows/rust.yml
vendored
|
|
@ -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
|
||||
26
.github/workflows/update.yml
vendored
26
.github/workflows/update.yml
vendored
|
|
@ -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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue