change to scala-cli and update dependencies #351
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
name: CI | |
on: | |
push: | |
branches: [ 'main' ] | |
pull_request: | |
branches: [ 'main' ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: ['11', '21'] | |
golang-version: ['1.18', '1.23'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.golang-version }} | |
- uses: VirtusLab/scala-cli-setup@main | |
with: | |
jvm: ${{ matrix.java-version }} | |
- name: 'Run tests' | |
run: scala-cli test . -- -l org.scalatest.tags.Slow | |
- name: 'Upload Fuzz Test Results on Test Failure (in case there are some)' | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: fuzz-test-results | |
path: fuzz_output/* |