From 6dea3d889d6313d27f7ab208abbfe89c57276801 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/reuse.yml | 5 ++--- .github/workflows/rust.yml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index 944e5af..d63eb21 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -1,6 +1,5 @@ -# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. -# -# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: Red Hat, Inc. +# SPDX-License-Identifier: LGPL-3.0-or-later name: REUSE Compliance Check 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