Skip to content

Commit

Permalink
chore: update GHA after dependency update
Browse files Browse the repository at this point in the history
  • Loading branch information
ingarabr committed Nov 28, 2021
1 parent fb4bc47 commit b1c2000
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.6, 3.0.1]
scala: [2.13.6, 3.1.0]
java: [[email protected]]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0

- name: Setup Java and Scala
uses: olafurpg/setup-scala@v12
uses: olafurpg/setup-scala@v13
with:
java-version: ${{ matrix.java }}

Expand All @@ -49,13 +49,13 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- run: sbt --client '++${{ matrix.scala }}; mdoc'
- run: sbt ++${{ matrix.scala }} mdoc

- name: Check that workflows are up to date
run: sbt --client '++${{ matrix.scala }}; githubWorkflowCheck'
run: sbt ++${{ matrix.scala }} githubWorkflowCheck

- name: Build project
run: sbt --client '++${{ matrix.scala }}; test'
run: sbt ++${{ matrix.scala }} test

- name: Compress target directories
run: tar cf targets.tar target modules/http4s-cloud-functions/target project-docs/target project/target
Expand All @@ -73,7 +73,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.0.1]
scala: [3.1.0]
java: [[email protected]]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -83,7 +83,7 @@ jobs:
fetch-depth: 0

- name: Setup Java and Scala
uses: olafurpg/setup-scala@v12
uses: olafurpg/setup-scala@v13
with:
java-version: ${{ matrix.java }}

Expand All @@ -109,12 +109,12 @@ jobs:
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.0.1)
- name: Download target directories (3.1.0)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-3.0.1-${{ matrix.java }}
name: target-${{ matrix.os }}-3.1.0-${{ matrix.java }}

- name: Inflate target directories (3.0.1)
- name: Inflate target directories (3.1.0)
run: |
tar xf targets.tar
rm targets.tar
Expand All @@ -124,4 +124,4 @@ jobs:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
run: sbt --client '++${{ matrix.scala }}; ci-release'
run: sbt ++${{ matrix.scala }} ci-release
2 changes: 1 addition & 1 deletion .github/workflows/clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
printf "Deleting '%s' #%d, %'d bytes\n" $name ${ARTCOUNT[$name]} $size
ghapi -X DELETE $REPO/actions/artifacts/$id
done
done
done

0 comments on commit b1c2000

Please sign in to comment.