Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge 2.12 to 2.13 20250106 [ci:last-only] #10974

Merged
merged 9 commits into from
Jan 6, 2025
Prev Previous commit
Next Next commit
no more Travis-CI for PR validation, use GitHub Actions
  • Loading branch information
SethTisue committed Dec 19, 2024
commit 9761bae976cbb47ca1a19a37412479ddb2a104fd
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml → .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
- name: Test
run: |
STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR
sbt -Dstarr.version=$STARR setupValidateTest test:compile info testAll
sbt -Dstarr.version=$STARR setupValidateTest Test/compile info testAll
30 changes: 30 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: PR validation
on:
pull_request:

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- name: Setup SBT
uses: sbt/setup-sbt@v1
# "mini" bootstrap for PR validation
# "mini" in these senses:
# - it doesn't use the complicated legacy scripts.
# - it doesn't publish to scala-pr-validation-snapshots
# (because we need secrets for that and PRs from forks can't have secrets)
# it is still a true bootstrap.
- name: Stage 1
run: sbt -warn setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
- name: Stage 2
run: |
STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR
sbt -Dstarr.version=$STARR -warn setupValidateTest Test/compile info testAll
14 changes: 0 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,6 @@ jobs:
- buildQuick
- triggerScalaDist

# pull request validation (w/ mini-bootstrap)
# "mini" in these senses:
# - it doesn't use the complicated legacy scripts.
# - it doesn't publish to scala-pr-validation-snapshots
# (because we need secrets for that and Travis-CI doesn't give PR jobs access to secrets)
# it is still a true bootstrap.
- stage: build
name: "JDK 8 pr validation"
if: type = pull_request
script:
- sbt -warn setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
- STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR
- sbt -Dstarr.version=$STARR -warn setupValidateTest test:compile info testAll

# build the spec using jekyll
- stage: build
if: type != pull_request
Expand Down
Loading