Skip to content

Commit 7acd730

Browse files
authored
Merge branch 'scala:main' into capture-subtyping
2 parents 4c76323 + d50973b commit 7acd730

File tree

90 files changed

+765
-324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+765
-324
lines changed

.github/PULL_REQUEST_TEMPLATE/fix-issue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ assignees: ''
88

99
<!--
1010
TODO first sign the CLA
11-
https://www.lightbend.com/contribute/cla/scala
11+
https://contribute.akka.io/cla/scala
1212
-->
1313

1414
## Fix #XYZ

.github/PULL_REQUEST_TEMPLATE/other-pr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ assignees: ''
88

99
<!--
1010
TODO first sign the CLA
11-
https://www.lightbend.com/contribute/cla/scala
11+
https://contribute.akka.io/cla/scala
1212
-->
1313

1414
## Description

.github/workflows/build-sdk.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
distribution: temurin
6262
java-version: ${{ inputs.java-version }}
6363
cache : sbt
64+
- uses: sbt/setup-sbt@v1
6465
- name: Build and pack the SDK (universal)
6566
run : ./project/scripts/sbt dist/Universal/stage
6667
- name: Build and pack the SDK (linux x86-64)

.github/workflows/ci.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -801,19 +801,13 @@ jobs:
801801
distDir="$3"
802802
803803
# Build binaries
804-
./project/scripts/sbt "${sbtProject}/Universal/stage"
804+
./project/scripts/sbt "all ${sbtProject}/Universal/packageBin ${sbtProject}/Universal/packageZipTarball"
805805
806-
outputPath="${distDir}/target/universal/stage"
807806
artifactName="scala3-${{ env.RELEASE_TAG }}${distroSuffix}"
808-
zipArchive="${artifactName}.zip"
809-
tarGzArchive="${artifactName}.tar.gz"
810-
811-
cwd=$(pwd)
812-
(cd $outputPath && zip -r ${zipArchive} . && mv ${zipArchive} "${cwd}/")
813-
tar -czf ${tarGzArchive} -C "$outputPath" .
814807
815808
# Caluclate SHA for each of archive files
816-
for file in "${zipArchive}" "${tarGzArchive}"; do
809+
for file in "${artifactName}.zip" "${artifactName}.tar.gz"; do
810+
mv ${distDir}/target/universal/$file $file
817811
sha256sum "${file}" > "${file}.sha256"
818812
done
819813
}

.github/workflows/cla.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,11 @@ on:
33
pull_request:
44
branches-ignore:
55
- 'language-reference-stable'
6-
push:
7-
branches:
8-
- 'language-reference-stable'
9-
merge_group:
10-
permissions:
11-
contents: write
12-
pull-requests: write
13-
146
jobs:
157
check:
168
runs-on: ubuntu-latest
179
steps:
18-
- uses: actions/checkout@v4
19-
- run: ./project/scripts/check-cla.sh
20-
if: github.event_name == 'pull_request'
21-
env:
22-
AUTHOR: ${{ github.event.pull_request.user.login }}
10+
- name: Verify CLA
11+
uses: scala/cla-checker@v1
12+
with:
13+
author: ${{ github.event.pull_request.user.login }}

.github/workflows/dependency-graph.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12+
- uses: sbt/setup-sbt@v1
1213
- uses: scalacenter/sbt-dependency-submission@v3
1314
env:
1415
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}

.github/workflows/language-reference.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
distribution: 'temurin'
3737
java-version: 17
3838
cache: 'sbt'
39+
- uses: sbt/setup-sbt@v1
3940

4041
- name: Generate reference documentation and test links
4142
run: |

.github/workflows/launchers.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
java-version: '17'
2121
distribution: 'temurin'
2222
cache: 'sbt'
23+
- uses: sbt/setup-sbt@v1
2324
- name: Build and test launcher command
2425
run: ./project/scripts/native-integration/bashTests
2526
env:
@@ -37,9 +38,7 @@ jobs:
3738
java-version: '17'
3839
distribution: 'temurin'
3940
cache: 'sbt'
40-
# https://github.com/actions/runner-images/issues/9369
41-
- name: Install sbt
42-
run: brew install sbt
41+
- uses: sbt/setup-sbt@v1
4342
- name: Build and test launcher command
4443
run: ./project/scripts/native-integration/bashTests
4544
env:
@@ -58,9 +57,7 @@ jobs:
5857
java-version: '17'
5958
distribution: 'temurin'
6059
cache: 'sbt'
61-
# https://github.com/actions/runner-images/issues/9369
62-
- name: Install sbt
63-
run: brew install sbt
60+
- uses: sbt/setup-sbt@v1
6461
- name: Build and test launcher command
6562
run: ./project/scripts/native-integration/bashTests
6663
env:
@@ -79,9 +76,7 @@ jobs:
7976
java-version: '17'
8077
distribution: 'temurin'
8178
cache: 'sbt'
82-
# https://github.com/actions/runner-images/issues/9369
83-
- name: Install sbt
84-
run: brew install sbt
79+
- uses: sbt/setup-sbt@v1
8580
- name: Build and test launcher command
8681
run: ./project/scripts/native-integration/bashTests
8782
env:
@@ -100,6 +95,7 @@ jobs:
10095
java-version: '17'
10196
distribution: 'temurin'
10297
cache: 'sbt'
98+
- uses: sbt/setup-sbt@v1
10399
- name: Build the launcher command
104100
run: sbt "dist-win-x86_64/Universal/stage"
105101
- name: Run the launcher command tests

.github/workflows/publish-chocolatey.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ jobs:
3535
with:
3636
name: scala.nupkg
3737
- name: Publish the package to Chocolatey
38-
run: choco push scala.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}
38+
run: choco push scala.${{inputs.version}}.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}
3939

.github/workflows/scaladoc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
java-version: 17
3838
cache: 'sbt'
3939

40+
- uses: sbt/setup-sbt@v1
4041
- name: Compile and test scala3doc-js
4142
run: ./project/scripts/sbt scaladoc-js-main/test
4243

0 commit comments

Comments
 (0)