Update dependency ch.qos.logback:logback-classic to v1.5.31 #130
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: Build and Test | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Install sbt | |
| run: | | |
| # Use the official sbt installation method for Ubuntu | |
| sudo apt-get update | |
| sudo apt-get install apt-transport-https curl gnupg -yqq | |
| echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list | |
| echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list | |
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt-release.gpg --import | |
| sudo chmod 644 /etc/apt/trusted.gpg.d/scalasbt-release.gpg | |
| sudo apt-get update | |
| sudo apt-get install sbt | |
| - name: Cache SBT dependencies | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5 | |
| with: | |
| path: | | |
| ~/.ivy2/cache | |
| ~/.sbt | |
| key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }} | |
| restore-keys: ${{ runner.os }}-sbt | |
| - name: Run build and test | |
| timeout-minutes: 15 | |
| run: | | |
| chmod +x ci/run_and_check.sh | |
| ci/run_and_check.sh | |
| - name: Upload test logs | |
| if: failure() | |
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 | |
| with: | |
| name: server-logs | |
| path: | | |
| target/server.log | |
| target/*.html | |
| target/cookies.txt |