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