Simplify and refactor exercise code #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Exercism YAMLScript Track / Test | |
on: | |
push: | |
# branches: [main] | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test-repository: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- run: pwd | |
- run: whoami | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y apt-utils | |
- run: | | |
sudo apt-get install -y \ | |
curl \ | |
jq \ | |
make \ | |
perl \ | |
wget \ | |
xz-utils | |
- name: Install dependencies | |
run: make deps | |
- name: Run checks and tests | |
env: | |
EXERCISM_YAMLSCRIPT_GHA: 1 | |
run: make check |