From 7a01dbeb330359ceca2ba9ee8f1908d6bb8a57e1 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Wed, 3 May 2023 03:35:33 -0700 Subject: [PATCH 1/2] ci: add build job --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..65dc725 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: CI +on: + push: + branches: + - 'main' + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: dtolnay/rust-toolchain@stable + + - run: cargo build + working-directory: libnyx From e0b183030ba02825e1fdf0c07d73ebf9d5dee003 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Wed, 3 May 2023 04:11:08 -0700 Subject: [PATCH 2/2] ci: ignore README updates --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65dc725..de19546 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,11 @@ on: push: branches: - 'main' + paths-ignore: + - '**/README.md' pull_request: + paths-ignore: + - '**/README.md' jobs: build: