mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
add jq.yml workflow
This commit is contained in:
1 parent
0fa2c2e623
commit
6527ea8bc3
1 file changed
+30
@@ -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
|
||||
Reference in new issue
Block a user