Skip to content

Commit

Permalink
Starting with setup for clojure version
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed Jun 2, 2024
1 parent 24e7d37 commit 67b6be1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/clojure.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will run stuff on the clojure version of tictactoe

name: Clojure

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tictactoe_clojure
steps:
- uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: latest
- name: Run
run: clojure -M tictactoe.clj
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,3 +299,6 @@ repos:

# basic specific
# None

# Clojure specific
# None
1 change: 1 addition & 0 deletions tictactoe_clojure/tictactoe.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(println "Hello, World!")

0 comments on commit 67b6be1

Please sign in to comment.