From 6527ea8bc33d43e3424d2f74f464e747cbc386f9 Mon Sep 17 00:00:00 2001 From: Nitsan Avni Date: Tue, 7 Feb 2023 12:31:13 +0000 Subject: [PATCH] add jq.yml workflow --- .github/workflows/jq.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/jq.yml diff --git a/.github/workflows/jq.yml b/.github/workflows/jq.yml new file mode 100644 index 00000000..dba90401 --- /dev/null +++ b/.github/workflows/jq.yml @@ -0,0 +1,30 @@ +name: jq + +on: + pull_request: + branches: + - main + paths: + - jq/* + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Rust + uses: actions/setup-rust@v1 + with: + rust-version: stable + + - name: Install jaq + run: | + cargo install --locked --git https://github.com/01mf02/jaq + + - name: Run tests on jq directory + working-directory: jq + run: | + ./test-gilded-rose.sh