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: on:
push: push:
branches: [ "main" ] branches: [main]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - id: checkout
- name: Install toolchain 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: | run: |
apt update cargo build
apt install --yes curl shell: bash
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