Skip to content

Commit

Permalink
Merge pull request #2 from gimantha/dsplayerX-feature-transaction-rec…
Browse files Browse the repository at this point in the history
…overy

Sync with master
  • Loading branch information
dsplayerX authored Oct 9, 2024
2 parents 393d187 + d202e3b commit 224eea5
Show file tree
Hide file tree
Showing 3,778 changed files with 93,761 additions and 35,876 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 0 additions & 7 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,3 @@ codecov:
require_ci_to_pass: no
max_report_age: off

fixes:
- "ballerina/lang&0046*/*/::langlib/lang.*/src/main/ballerina/"

ignore:
- "**/tests"
- "tests/language-server-simulator"

35 changes: 24 additions & 11 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,31 @@

# See: https://help.github.com/articles/about-codeowners/

* @gimantha

# Components
/compiler/ @sameerajayasoma @hasithaa
/langlib/ @sameerajayasoma @hasithaa
/semtypes/ @sameerajayasoma @hasithaa
/language-server/ @mohanvive @IMS94
/ballerina-shell/ @mohanvive
/compiler/ @sameerajayasoma @hasithaa @gimantha @MaryamZi
/ballerina-shell/ @KavinduZoysa
/build-config/ @keizer619
/bvm/ @warunalakshitha
/observelib/ @nadundesilva
/cli/ @hevayo
/distribution/ @hevayo
/misc/ @hevayo
/project-api/ @hevayo @sameerajayasoma
/cli/ @azinneera
/distribution/ @keizer619
/gradle/ @keizer619
/langlib/ @sameerajayasoma @hasithaa @gimantha @MaryamZi
/semtypes/ @gimantha @MaryamZi
/language-server/ @KavinduZoysa
/misc/ballerina-bindgen/ @warunalakshitha
/misc/compiler-plugins/ @azinneera
/misc/debug-adapter/ @NipunaRanasinghe
/misc/docerina/ @keizer619
/misc/identifier-util/ @warunalakshitha
/misc/json-to-record-converter/ @NipunaRanasinghe
/misc/semver-checker/ @NipunaRanasinghe
/misc/testerina/ @azinneera @Dilhasha
/misc/xml-to-record-converter/ @NipunaRanasinghe
/project-api/ @azinneera @sameerajayasoma
/performance/ @anuruddhal
/tests/ @gimantha @MaryamZi @KavinduZoysa @warunalakshitha @azinneera

# CODEOWNERS file
/.github/CODEOWNERS @sameerajayasoma @hasithaa @anupama-pathirage @warunalakshitha @mohanvive @manuranga @hevayo
/.github/CODEOWNERS @sameerajayasoma @gimantha @MaryamZi @hasithaa
9 changes: 1 addition & 8 deletions .github/workflows/automate_issue_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
Add-label:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for Type label inclusion
if: ${{ !(contains(join(github.event.issue.labels.*.name, ','), 'Type/')) }}
Expand Down Expand Up @@ -53,13 +53,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}
ISSUE: ${{ github.event.issue.number }}

- name: Check for APIDocs related issue
if: ${{ contains(github.event.issue.body, '-> API Docs') }}
run: gh issue transfer $ISSUE "ballerina-platform/ballerina-dev-tools"
env:
GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}
ISSUE: ${{ github.event.issue.number }}

- name: Check for Debugger related issue
if: ${{ contains(github.event.issue.body, '-> Debugger') }}
run: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/daily_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
ubuntu_build:
name: Build with tests on Ubuntu
runs-on: ubuntu-latest
timeout-minutes: 75
timeout-minutes: 120

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'
Expand All @@ -25,7 +25,7 @@ jobs:
run: git submodule update --init

- name: Cache Gradle packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ github.sha }}
Expand Down Expand Up @@ -65,12 +65,12 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'
Expand All @@ -79,14 +79,14 @@ jobs:
run: git submodule update --init

- name: Cache SonarCloud packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar

- name: Cache Gradle packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/daily_spec_conformance_test_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: spec-conformance-test-runner

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
Expand All @@ -35,7 +35,7 @@ jobs:
./gradlew ballerina-spec-conformance-tests:test --configure-on-demand --no-daemon
- name: Spec conformance report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: spec-conformance-test-report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
fossa-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: fossas/fossa-action@main
with:
api-key: ${{secrets.FOSSA_APIKEY}}
2 changes: 1 addition & 1 deletion .github/workflows/fossa_scan_1.2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
fossa-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: fossas/fossa-action@main
with:
api-key: ${{secrets.FOSSA_APIKEY}}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly_publish_timestamped_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
if: github.repository_owner == 'ballerina-platform'
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'
Expand All @@ -45,7 +45,7 @@ jobs:
publishUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
publishPAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: |
./gradlew clean build -x createJavadoc --scan --continue --rerun-tasks
./gradlew clean build -x javadoc --scan --continue --rerun-tasks
./gradlew publish
./gradlew createCodeCoverageReport
curl -X POST \
Expand All @@ -61,6 +61,6 @@ jobs:
}"
- name: Generate Codecov Report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: ./.jacoco/reports/jacoco/report.xml
4 changes: 2 additions & 2 deletions .github/workflows/observe_package_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout Tag
run: git checkout ${{ github.event.inputs.repoTag }}
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish_timestamped_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
if: github.repository_owner == 'ballerina-platform'
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'
Expand All @@ -44,11 +44,11 @@ jobs:
publishUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
publishPAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: |
./gradlew clean build -x check -x test -x createJavadoc --scan --continue --rerun-tasks
./gradlew clean build -x check -x test -x javadoc --scan --continue --rerun-tasks
./gradlew publish
./gradlew createCodeCoverageReport
- name: Generate Codecov Report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: ./.jacoco/reports/jacoco/report.xml
23 changes: 12 additions & 11 deletions .github/workflows/pull_request_full_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'
Expand All @@ -32,17 +32,18 @@ jobs:
id: lang-version
run: |
VERSION=$((grep -w "version" | cut -d= -f2) < gradle.properties)
echo "::set-output name=version::$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Build ballerina-lang
run: |
./gradlew clean build -x check publishToMavenLocal --stacktrace --scan
- name: Archive Lang Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
include-hidden-files: true

outputs:
lang_version: ${{ steps.lang-version.outputs.version }}
Expand All @@ -62,20 +63,20 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'

- name: Setup NodeJs
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 10.22.1
- name: Download Ballerina Lang Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
Expand Down Expand Up @@ -127,18 +128,18 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'ballerina-platform/ballerina-distribution'

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0.7'

- name: Download Ballerina Lang Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
Expand Down
Loading

0 comments on commit 224eea5

Please sign in to comment.