From 16395dc57001282c6d5404271ff04da6780fd078 Mon Sep 17 00:00:00 2001 From: Didier Date: Sat, 3 Jun 2023 21:08:44 +0200 Subject: [PATCH] feat: add workflow --- .github/workflows/build.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..0408992 --- /dev/null +++ b/.github/workflows/build.yaml @@ -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