Skip to content

Update scala3-library, ... to 3.5.2 #614

Update scala3-library, ... to 3.5.2

Update scala3-library, ... to 3.5.2 #614

Workflow file for this run

name: CI
on:
pull_request:
push:
schedule:
- cron: '0 0 * * 0'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
include:
- java: 8
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
java-version: ${{matrix.java}}
distribution: adopt
- uses: coursier/cache-action@v6
- run: sbt -v "+ test"
push_gh_pages:
needs: test
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
java-version: 11
distribution: adopt
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.3.0
- run: gem update --system && gem install jekyll bundler
- run: sbt -v docs/makeMicrosite
- run: sudo apt-get install tree
- run: tree docs/target/site
- name: Push to gh-pages
if: ${{ github.repository_owner == 'b-studios' && github.ref == 'refs/heads/master' && github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@v4.6.8
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/target/site
CLEAN: true