Skip to content

Commit 705fc53

Browse files
committed
rebasing on main
Signed-off-by: Justin Florentine <justin+github@florentine.us>
1 parent eaf5682 commit 705fc53

File tree

4 files changed

+22
-17
lines changed

4 files changed

+22
-17
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
jobs:
2525
analyze:
2626
name: Analyze
27-
runs-on: [besu-research-ubuntu-16]
27+
runs-on: [besu-research-ubuntu-8]
2828
permissions:
2929
actions: read
3030
contents: read
@@ -40,13 +40,6 @@ jobs:
4040
steps:
4141
- name: Checkout repository
4242
uses: actions/checkout@v3
43-
44-
- name: Set up Java
45-
uses: actions/setup-java@v3
46-
with:
47-
distribution: adopt
48-
java-version: 17
49-
5043
# Initializes the CodeQL tools for scanning.
5144
- name: Initialize CodeQL
5245
uses: github/codeql-action/init@v2
@@ -60,7 +53,6 @@ jobs:
6053
# Autobuild failed (OOM)
6154
# Hence, supply memory args for gradle build
6255
- run: |
63-
JAVA_OPTS="-Xmx1000M" ./gradlew --no-scan compileJava
64-
56+
JAVA_OPTS="-Xmx2048M" ./gradlew --no-scan compileJava
6557
- name: Perform CodeQL Analysis
6658
uses: github/codeql-action/analyze@v2

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ on: [push, pull_request]
55
jobs:
66
validation:
77
name: "Gradle Wrapper Validation"
8-
runs-on: [besu-research-ubuntu-8]
8+
runs-on: [ self-hosted, Linux ]
99
steps:
10+
- name: export runner UID
11+
run: echo "runner_uid=$UID" >> $GITHUB_ENV
1012
- uses: actions/checkout@v3
1113
- uses: gradle/wrapper-validation-action@v1
14+
- name: Correct Ownership in GITHUB_WORKSPACE directory
15+
uses: peter-murray/reset-workspace-ownership-action@v1
16+
with:
17+
user_id: ${{ env.runner_uid }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
types: released
55
jobs:
66
dockerPromoteX64:
7-
runs-on: [besu-research-ubuntu-16]
7+
runs-on: [besu-research-ubuntu-8]
88
steps:
99
- uses: actions/checkout@v3
1010
- uses: actions/setup-java@v3

.github/workflows/repolinter.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,18 @@ on:
1414
- main
1515

1616
jobs:
17-
build:
18-
runs-on: [besu-research-ubuntu-16]
19-
container: ghcr.io/todogroup/repolinter:v0.10.1
17+
lint:
18+
runs-on: [ self-hosted, Linux ]
2019
steps:
20+
- name: export runner UID
21+
run: echo "runner_uid=$UID" >> $GITHUB_ENV
2122
- name: Checkout Code
2223
uses: actions/checkout@v3
23-
- name: Lint Repo
24-
run: bundle exec /app/bin/repolinter.js --rulesetUrl https://raw.githubusercontent.com/hyperledger-labs/hyperledger-community-management-tools/main/repo_structure/repolint.json --format markdown
24+
- name: 'Run Repolinter'
25+
uses: newrelic/repolinter-action@v1
26+
with:
27+
config_url: https://raw.githubusercontent.com/hyperledger-labs/hyperledger-community-management-tools/main/repo_structure/repolint.json
28+
- name: Correct Ownership in GITHUB_WORKSPACE directory
29+
uses: peter-murray/reset-workspace-ownership-action@v1
30+
with:
31+
user_id: ${{ env.runner_uid }}

0 commit comments

Comments
 (0)