Skip to content

Commit af3b2f1

Browse files
authored
Use configlet-ci action to Fetch configlet (exercism#2254)
1 parent 832a511 commit af3b2f1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci-workflow.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,24 @@ jobs:
2020
python-version: 3.7
2121
- name: Download & Install dependencies
2222
run: |
23-
./bin/fetch-configlet
2423
python -m pip install --upgrade pip
2524
pip install flake8 requests
2625
git clone https://github.com/exercism/problem-specifications spec
2726
pip install -r requirements-generator.txt
2827
- name: Check readmes
2928
run: |
3029
./bin/check-readmes.sh
30+
- name: Fetch configlet
31+
uses: exercism/github-actions/configlet-ci@master
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3134
- name: Check config.json integrity
3235
run: |
3336
# May provide more useful output than configlet fmt
3437
# if JSON is not valid or items are incomplete
35-
./bin/configlet lint .
38+
configlet lint .
3639
# Verify correct formatting in config.json
37-
./bin/configlet fmt . && git diff --quiet
40+
configlet fmt . && git diff --quiet
3841
#- name: Generate tests
3942
# run: |
4043
# bin/generate_tests.py --verbose -p spec --check

0 commit comments

Comments
 (0)