Skip to content

Commit 018b87b

Browse files
authored
Merge branch 'master' into indent-ruby-proto
2 parents 5a2b694 + 9e95646 commit 018b87b

281 files changed

Lines changed: 55886 additions & 9802 deletions

File tree

Some content is hidden

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

.github/linters/.ls-lint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ls:
2+
.c: snake_case
3+
.cpp: snake_case
4+
.h: snake_case
5+
.json: snake_case
6+
.rb: snake_case
7+
.yaml: regex:\.?[a-z]+(-[a-z]+)*
8+
.yml: regex:\.?[a-z]+(-[a-z]+)*
9+
10+
ignore:
11+
- build_config
12+
- mrbgems/mruby-compiler/core/y.tab.c

.github/linters/.rubocop.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
AllCops:
2+
DisabledByDefault: true
3+
TargetRubyVersion: 3.4
4+
5+
Layout/AssignmentIndentation:
6+
Enabled: true
7+
8+
Layout/BlockEndNewline:
9+
Enabled: true
10+
11+
Layout/IndentationStyle:
12+
Enabled: true
13+
EnforcedStyle: spaces

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
LD: ${{ matrix.cc }}
3232
steps:
3333
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535
- name: Ruby version
3636
run: ruby -v
3737
- name: Compiler version
@@ -46,7 +46,7 @@ jobs:
4646
MRUBY_CONFIG: ci/msvc
4747
steps:
4848
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v6
5050
- name: Ruby version
5151
run: ruby -v
5252
- name: Build and test
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CodeQL Analysis
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
branches: [master]
7+
permissions:
8+
actions: read
9+
contents: read
10+
security-events: write
11+
jobs:
12+
codeql:
13+
name: CodeQL
14+
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
language: ["actions"]
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v6
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v4
24+
with:
25+
languages: ${{ matrix.language }}
26+
- name: Autobuild
27+
uses: github/codeql-action/autobuild@v4
28+
- name: Perform CodeQL Analysis
29+
uses: github/codeql-action/analyze@v4
30+
with:
31+
category: "Security"

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
LDFLAGS: --coverage
1717
steps:
1818
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020
- name: Ruby version
2121
run: ruby -v
2222
- name: Compiler version
@@ -34,7 +34,7 @@ jobs:
3434
echo \`\`\`
3535
} > "$GITHUB_STEP_SUMMARY"
3636
- name: Upload coverage report
37-
uses: actions/upload-artifact@v4
37+
uses: actions/upload-artifact@v5
3838
with:
3939
name: coverage-${{ github.sha }}
4040
path: coverage/

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v5
12+
- uses: actions/labeler@v6
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1515
sync-labels: true

.github/workflows/lint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616
- name: Install
1717
run: |
1818
python -m pip install --upgrade pip
@@ -25,3 +25,11 @@ jobs:
2525
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
2626
- name: Run pre-commit
2727
run: pre-commit run --all-files
28+
ls-lint:
29+
name: Run ls-lint
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v6
33+
- uses: ls-lint/action@v2.3.1
34+
with:
35+
config: .github/linters/.ls-lint.yml

.github/workflows/oss-fuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fuzz-seconds: 600
2121
dry-run: false
2222
- name: Upload Crash
23-
uses: actions/upload-artifact@v4
23+
uses: actions/upload-artifact@v5
2424
if: failure()
2525
with:
2626
name: artifacts

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
steps:
2121
- name: "Checkout ${{ github.ref_name }} ( ${{ github.sha }} )"
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
- name: Builds
2424
id: builds
2525
run: |

.github/workflows/super-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
with:
2020
# Full git history is needed to get a proper list of changed files within `super-linter`
2121
fetch-depth: 0
2222
- name: Lint Code Base
23-
uses: super-linter/super-linter/slim@v7.3.0
23+
uses: super-linter/super-linter/slim@v8.2.1
2424
env:
2525
# VALIDATE_BASH_EXEC: true
2626
VALIDATE_DOCKERFILE_HADOLINT: true

0 commit comments

Comments
 (0)