Justine Pelletreau 725ff8b0cc
Some checks failed
Rust-build / build (push) Failing after 12s
Actions 5
2023-07-17 11:24:35 +02:00

41 lines
776 B
YAML

name: Rust-build
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- name: Check-out
uses: actions/checkout@v2
continue-on-error: true
- name: Install stable toolchain
uses: https://github.com/actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo check
uses: https://github.com/actions-rs/cargo@v1
continue-on-error: true # WARNING: only for this example, remove it!
with:
command: check
- name: Ayo
run: ls -la
- name: Test
run: cargo test
- name: Build
run: cargo build --release