Update ubuntu version in CI #126
Workflow file for this run
This file contains hidden or 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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - release-* | |
| tags-ignore: ["v*"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Build and Test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-24.04 | |
| java: 17 | |
| distribution: temurin | |
| scalaV: "2.12.x" | |
| - os: ubuntu-24.04 | |
| java: 17 | |
| distribution: temurin | |
| scalaV: "3.x" | |
| runs-on: "${{ matrix.os }}" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7.0.1 | |
| # - name: Install Node | |
| # uses: actions/setup-node@v1 | |
| # with: | |
| # node-version: v16.x | |
| - name: Ruby caches | |
| uses: actions/cache@v6.1.0 | |
| with: | |
| path: vendor/bundle | |
| key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gems- | |
| - name: Setup JDK | |
| uses: actions/setup-java@v5.7.0 | |
| with: | |
| distribution: "${{ matrix.distribution }}" | |
| java-version: "${{ matrix.java }}" | |
| cache: "sbt" | |
| - name: Setup sbt | |
| uses: sbt/setup-sbt@v1.5.6 | |
| - name: Install Jekyll, Nanoc, Asciidoctor, sphinx | |
| run: |- | |
| sudo gem install jekyll:3.8.4 nanoc:4.0.2 asciidoctor --no-document | |
| pip3 install --user sphinx | |
| # npm install -g gitbook-cli@2.3.2 | |
| # gitbook install 3.2.3 | |
| # - name: Install Hugo 0.20 | |
| # run: |- | |
| # mkdir download | |
| # wget https://github.com/gohugoio/hugo/releases/download/v0.20.1/hugo_0.20.1_linux-64bit.tar.gz -O download/hugo.tgz | |
| # tar xvf download/hugo.tgz | |
| # mkdir ${PWD}/bin | |
| # export PATH=${PATH}:${PWD}/bin | |
| # mv hugo_0.20.1_linux_amd64/hugo_0.20.1_linux_amd64 ${PWD}/bin/hugo | |
| # chmod +x ${PWD}/bin/hugo | |
| - name: sbt runScriptedTest | |
| run: sbt -v "++${{ matrix.scalaV }}; test; scripted; makeSite" |