perf: sliding
refactoring, second take
#4
This file contains hidden or 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: Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: actions/cache@v4.2.3 | |
name: Cache installed packages | |
with: | |
path: | | |
~/.cache/racket | |
~/.local/share/racket | |
key: ${{ runner.os }}-raco-${{ hashFiles('**/info.rkt') }} | |
- name: Set up Racket | |
uses: Bogdanp/setup-racket@v1.12 | |
with: | |
architecture: 'x64' | |
distribution: 'full' | |
variant: 'CS' | |
version: 'stable' | |
- name: Install dependencies | |
run: raco pkg install --auto --dependencies fail | |
- name: Run tests | |
run: raco test . |