2023-04-22 19:02:09 +03:00
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build
|
|
|
|
run: cargo build --verbose
|
2023-04-22 19:08:09 +03:00
|
|
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build release
|
|
|
|
run: cargo build --release --verbose
|