Split CI workflow by year #4
Workflow file for this run
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: AoC 2021 | |
on: | |
pull_request: | |
paths: | |
- 'aoc-2021/**' | |
jobs: | |
aoc-2021: | |
name: AoC 2021 | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'aoc-2021/' | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
bundler-cache: false | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rspec |