From d0ff19767ddca8814722ac6a172e209fc770b2cc Mon Sep 17 00:00:00 2001 From: Albert Esteve Date: Mon, 20 Nov 2023 09:57:08 +0100 Subject: [PATCH] Add build workflow Signed-off-by: Albert Esteve --- .github/workflows/rust.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..1989c90 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,23 @@ +# SPDX-FileCopyrightText: Red Hat, Inc. +# SPDX-License-Identifier: LGPL-3.0-or-later + +name: Build + +on: + push: + branches: [ $default-branch ] + pull_request: + branches: [ $default-branch ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose \ No newline at end of file