Skip to content

Commit

Permalink
Add debug workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Nov 7, 2024
1 parent 5b9b2e0 commit a68d2c9
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: build

on: [push, pull_request]

jobs:
build:
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: 'true'

- name: Cache deps
uses: actions/cache@v2
id: cache-deps
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('deps.edn') }}
restore-keys: ${{ runner.os }}-maven-

- name: Prepare java
uses: actions/setup-java@v2
with:
distribution: 'adopt-hotspot'
java-version: '19'

- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@5.0
with:
cli: latest
bb: latest

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: Run tests
run: |
bb ci:test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ bun.lockb
scratch.mjs
scratch.cljs
*.bun-build
scratch

0 comments on commit a68d2c9

Please sign in to comment.