feat: add workflow

This commit is contained in:
Didier Slof 2023-06-03 21:08:44 +02:00
parent c7cef6e7af
commit 16395dc570
Signed by: didier
GPG Key ID: 01E71F18AA4398E5
1 changed files with 22 additions and 0 deletions

22
.github/workflows/build.yaml vendored Normal file
View 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