From a3919c31df42f99181a9a85af73e323519892d5d Mon Sep 17 00:00:00 2001 From: Christian Llontop Date: Wed, 27 Dec 2023 01:31:50 -0500 Subject: [PATCH 1/2] add ci cd pipeline --- .github/workflows/rust.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..197ff99 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,22 @@ +name: CI/CD + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose From c6e6cc9b2ec6bc7349108c09f18d1285c97e12a8 Mon Sep 17 00:00:00 2001 From: Christian Llontop Date: Wed, 27 Dec 2023 01:33:56 -0500 Subject: [PATCH 2/2] update filename --- .github/workflows/{rust.yml => ci-cd.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{rust.yml => ci-cd.yml} (100%) diff --git a/.github/workflows/rust.yml b/.github/workflows/ci-cd.yml similarity index 100% rename from .github/workflows/rust.yml rename to .github/workflows/ci-cd.yml