mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
add jq.yml workflow
This commit is contained in:
parent
0fa2c2e623
commit
6527ea8bc3
30
.github/workflows/jq.yml
vendored
Normal file
30
.github/workflows/jq.yml
vendored
Normal file
@ -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
|
||||
Loading…
Reference in New Issue
Block a user