feat: add workflow
This commit is contained in:
parent
c7cef6e7af
commit
16395dc570
1 changed files with 22 additions and 0 deletions
22
.github/workflows/build.yaml
vendored
Normal file
22
.github/workflows/build.yaml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# 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
|
Loading…
Reference in a new issue