uwuwuwu
Some checks failed
/ build (push) Failing after 8s

This commit is contained in:
xqtc161 2024-07-11 15:00:27 +02:00
parent da6e091e69
commit 792bf8e074

View file

@ -1,30 +1,20 @@
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
run: |
apt update
apt install --yes curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly --profile default -y
- name: Build
run: |
$HOME/.cargo/env
cargo build --verbose
- name: Run tests
run: |
$HOME/.cargo/env
cargo test --verbose
- id: checkout
name: checkout
uses: actions/checkout@v4
- id: setup-rust
name: setup rust
uses: ningenMe/setup-rustup@v1.1.0
with:
rust-version: nightly
- id: cargo-build
name: cargo build
run: |
cargo build
shell: bash