File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed
Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 1515
1616jobs :
1717 build-sbt :
18- runs-on : ubuntu-latest
18+ runs-on : ubuntu-22.04
1919 strategy :
2020 fail-fast : false
2121 matrix :
@@ -35,23 +35,14 @@ jobs:
3535 name : Spark ${{matrix.spark}} on Scala ${{matrix.scala}}
3636 steps :
3737 - name : Checkout code
38- uses : actions/checkout@v6.0.2
38+ # gh api repos/actions/checkout/commits/v6.0.2 --jq '.sha'
39+ uses : actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd
3940 - name : Setup JDK
40- uses : actions/setup-java@v5.1.0
41+ # gh api repos/actions/setup-java/commits/v5.0.1 --jq '.sha'
42+ uses : gh api repos/actions/setup-java/commits/v5.1.0 --jq '.sha'
4143 with :
4244 distribution : temurin
4345 java-version : 8
4446 cache : sbt
45- - name : Install sbt
46- run : |
47- sudo apt-get update
48- sudo apt-get install apt-transport-https curl gnupg -yqq
49- echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
50- echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
51- curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo -H gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt-release.gpg --import
52- sudo chmod 644 /etc/apt/trusted.gpg.d/scalasbt-release.gpg
53- sudo apt-get update
54- sudo apt-get install sbt
55-
5647 - name : Build and run tests
5748 run : sbt ++${{matrix.scala}} test -DSPARK_VERSION=${{matrix.spark}}
You can’t perform that action at this time.
0 commit comments