Bump the kotlin-minor group in /tictactoe_kotlin with 3 updates #198
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
# This workflow will run stuff on the turnstyle version of tictactoe. | |
name: turnstyle | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: main/tictactoe_turnstyle | |
steps: | |
- name: Checkout turnstyle | |
uses: actions/checkout@v4 | |
with: | |
repository: JanEricNitschke/turnstyle | |
path: turnstyle | |
- name: Setup haskell | |
uses: haskell-actions/setup@v2 | |
with: | |
ghc-version: '9.10.1' | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
path: main | |
- name: Install turnstyle | |
run: cabal install --user | |
working-directory: turnstyle | |
- name: Build | |
run: turnstyle compile -o CI.png tictactoe.txt | |
- name: Run | |
run: | | |
turnstyle run tictactoe.png < input1.txt | |
turnstyle run tictactoe_opt.png < input1.txt | |
turnstyle run tictactoe.png < input2.txt | |
turnstyle run tictactoe_opt.png < input2.txt |