From 91e5002dc99552e5e361b054fec7b65dcec762bf Mon Sep 17 00:00:00 2001 From: Sebastian Alfers Date: Fri, 22 Mar 2024 19:54:47 +0100 Subject: [PATCH] chore: repository cleanup (#75) --- .github/workflows/build-test.yml | 17 +++++++++++++---- README.md | 8 ++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 235e2cc..cb65590 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -1,5 +1,8 @@ name: Build and test +permissions: + contents: read + on: pull_request: push: @@ -10,21 +13,27 @@ on: jobs: build-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v2 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 - name: Set up JDK 17 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.17 - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: sbt test # This runs the template with the default parameters, and runs test within the templated app. diff --git a/README.md b/README.md index 6afc48b..f0b3838 100644 --- a/README.md +++ b/README.md @@ -47,3 +47,11 @@ This template is distributed without any warranty. See