ci(gh/rust): removing github action
This commit is contained in:
parent
3a4dec3337
commit
1aceda787a
2 changed files with 0 additions and 33 deletions
32
.github/workflows/rust.yml
vendored
32
.github/workflows/rust.yml
vendored
|
|
@ -1,32 +0,0 @@
|
|||
name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: nixos/nix:latest
|
||||
env:
|
||||
NIX_CONFIG: "extra-experimental-features = nix-command flakes"
|
||||
|
||||
steps:
|
||||
- name: checkout depedencies
|
||||
run: nix shell nixpkgs#nodejs
|
||||
- uses: actions/checkout@v4
|
||||
- name: build
|
||||
run: nix develop .
|
||||
- name: Install sqlx-cli
|
||||
run: cargo install sqlx-cli --no-default-features --features postgres
|
||||
- name: Prepare
|
||||
run: cargo sqlx prepare --check
|
||||
- name: Build
|
||||
run: cargo build
|
||||
|
|
@ -58,7 +58,6 @@
|
|||
[
|
||||
tmux-setup
|
||||
rustToolchain
|
||||
act
|
||||
cargo
|
||||
cargo-audit
|
||||
cargo-edit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue