Skip to content

fix workflow

fix workflow #13

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
- name: Install cs
uses: coursier/cache-action@v6
uses: VirtusLab/scala-cli-setup@main

Check failure on line 18 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 18, Col: 7): 'uses' is already defined
- name: Install scalafmt
run: cs setup
- name: Check formatting
run: scalafmt --check
- name: Build and Test
run: sbt -v +test