22 lines
452 B
YAML
22 lines
452 B
YAML
# build.yaml
|
|
# ---
|
|
# Builds the rust code and verifies that it compiles
|
|
|
|
name: build
|
|
on: [ 'push' ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install dependencies
|
|
run: |
|
|
apt update -y
|
|
apt install -y curl
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
override: true
|
|
- name: Build
|
|
run: cargo build --verbose
|