From 85a5b1b8bd1f65479cea2cb023d063169cc8e122 Mon Sep 17 00:00:00 2001 From: zhongl Date: Tue, 5 Dec 2023 08:38:22 +0800 Subject: [PATCH] Upgrade actions. --- .github/workflows/sbt-coverage.yml | 6 +++--- .github/workflows/sbt-docker-publish.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sbt-coverage.yml b/.github/workflows/sbt-coverage.yml index 95e4157..c58cb25 100644 --- a/.github/workflows/sbt-coverage.yml +++ b/.github/workflows/sbt-coverage.yml @@ -11,11 +11,11 @@ jobs: coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: olafurpg/setup-scala@v13 + - uses: actions/checkout@v4 + - uses: coursier/setup-action@v1 - name: branch-names id: branch-name - uses: tj-actions/branch-names@v2.2 + uses: tj-actions/branch-names@v7 - run: sbt coverage +test coverageReport - run: sbt coveralls env: diff --git a/.github/workflows/sbt-docker-publish.yml b/.github/workflows/sbt-docker-publish.yml index 7713dd8..e82bf96 100644 --- a/.github/workflows/sbt-docker-publish.yml +++ b/.github/workflows/sbt-docker-publish.yml @@ -7,12 +7,12 @@ jobs: publish: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: olafurpg/setup-scala@v10 + - uses: coursier/setup-action@v1 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}