Skip to content

Commit

Permalink
[new] New tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Dec 8, 2022
1 parent 3cf79f0 commit 52559e4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/build.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: tests
on: [push, pull_request]

jobs:
tests:
strategy:
matrix:
java: ['17', '18', '19']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}

- uses: DeLaGuardo/[email protected]
with:
lein: latest

- uses: actions/cache@v3
id: cache-deps
with:
path: ~/.m2/repository
key: deps-${{ hashFiles('project.clj') }}

- run: lein test-all

0 comments on commit 52559e4

Please sign in to comment.