diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64ce2856..c8c23ea7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: timeout-minutes: 60 steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -64,7 +64,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false' - run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' reload +update + run: sbt +update - name: Setup Java (temurin@11) id: setup-java-temurin-11 @@ -77,7 +77,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false' - run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' reload +update + run: sbt +update - name: Check that workflows are up to date run: sbt githubWorkflowCheck @@ -131,7 +131,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -146,7 +146,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false' - run: sbt reload +update + run: sbt +update - name: Setup Java (temurin@11) id: setup-java-temurin-11 @@ -159,7 +159,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false' - run: sbt reload +update + run: sbt +update - name: Download target directories (3, rootJS, 1) uses: actions/download-artifact@v3 @@ -256,7 +256,7 @@ jobs: env: PGP_SECRET: ${{ secrets.PGP_SECRET }} PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} - run: echo $PGP_SECRET | base64 -di | gpg --import + run: echo $PGP_SECRET | base64 -d -i - | gpg --import - name: Import signing key and strip passphrase if: env.PGP_SECRET != '' && env.PGP_PASSPHRASE != '' @@ -264,7 +264,7 @@ jobs: PGP_SECRET: ${{ secrets.PGP_SECRET }} PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} run: | - echo "$PGP_SECRET" | base64 -di > /tmp/signing-key.gpg + echo "$PGP_SECRET" | base64 -d -i - > /tmp/signing-key.gpg echo "$PGP_PASSPHRASE" | gpg --pinentry-mode loopback --passphrase-fd 0 --import /tmp/signing-key.gpg (echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1) @@ -285,7 +285,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -300,7 +300,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false' - run: sbt reload +update + run: sbt +update - name: Setup Java (temurin@11) id: setup-java-temurin-11 @@ -313,7 +313,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false' - run: sbt reload +update + run: sbt +update - name: Submit Dependencies uses: scalacenter/sbt-dependency-submission@v2 @@ -330,7 +330,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -345,7 +345,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false' - run: sbt '++ ${{ matrix.scala }}' reload +update + run: sbt +update - name: Setup Java (temurin@11) id: setup-java-temurin-11 @@ -358,7 +358,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false' - run: sbt '++ ${{ matrix.scala }}' reload +update + run: sbt +update - name: Build examples run: | @@ -374,7 +374,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -389,7 +389,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false' - run: sbt '++ ${{ matrix.scala }}' reload +update + run: sbt +update - name: Setup Java (temurin@11) id: setup-java-temurin-11 @@ -402,7 +402,7 @@ jobs: - name: sbt update if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false' - run: sbt '++ ${{ matrix.scala }}' reload +update + run: sbt +update - name: Build benchmark suite run: 'sbt ''++ ${{ matrix.scala }}'' ''bench/jmh:run -p genSize=0 -p seedCount=0 -bs 1 -wi 0 -i 1 -f 0 -t 1 -r 0 org.scalacheck.bench.GenBench'''