Skip to content

Commit 1f8e868

Browse files
authored
Merge pull request #3307 from 1c-syntax/develop
2 parents e875425 + dd5b714 commit 1f8e868

File tree

908 files changed

+5036
-2525
lines changed

Some content is hidden

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

908 files changed

+5036
-2525
lines changed

.devcontainer/devcontainer.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
1-
{"image":"mcr.microsoft.com/devcontainers/universal:2"}
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/java
3+
{
4+
"name": "Java",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/java:1-17-bookworm",
7+
8+
"features": {
9+
"ghcr.io/devcontainers/features/java:1": {
10+
"version": "none",
11+
"installMaven": "false",
12+
"installGradle": "true"
13+
},
14+
"ghcr.io/devcontainers/features/python:1": {}
15+
},
16+
"customizations": {
17+
"vscode": {
18+
"extensions": [
19+
"vscjava.vscode-gradle",
20+
"GitHub.vscode-github-actions",
21+
"astrizhachuk.1c-extension-pack",
22+
"zhuangtongfa.Material-theme"
23+
]
24+
}
25+
}
26+
27+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
28+
// "forwardPorts": [],
29+
30+
// Use 'postCreateCommand' to run commands after the container is created.
31+
// "postCreateCommand": "java -version",
32+
33+
// Configure tool-specific properties.
34+
// "customizations": {},
35+
36+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
37+
// "remoteUser": "root"
38+
}

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "daily"
12+
groups:
13+
freefair:
14+
patterns:
15+
- "io.freefair.*"
1216
- package-ecosystem: "github-actions"
1317
directory: "/"
1418
schedule:
1519
interval: "daily"
20+
- package-ecosystem: "devcontainers"
21+
directory: "/"
22+
schedule:
23+
interval: weekly

.github/workflows/benchmark.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@ jobs:
2929
uses: actions/checkout@v3
3030

3131
- name: Setup JDK
32-
uses: actions/setup-java@v3
32+
uses: actions/setup-java@v4
3333
with:
3434
java-version: 17
3535
distribution: 'temurin'
36+
cache: gradle
3637

3738
- name: Build with Gradle
3839
run: ./gradlew bootJar
3940

4041
- name: Set up Python
41-
uses: actions/setup-python@v4
42+
uses: actions/setup-python@v5
4243
with:
4344
python-version: "3.7"
4445

.github/workflows/check-package.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ jobs:
3131

3232
steps:
3333
- name: Checkout source
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535

3636
- name: Set up JDK
37-
uses: actions/setup-java@v3
37+
uses: actions/setup-java@v4
3838
with:
39-
java-version: 20
39+
java-version: 21
4040
distribution: 'temurin'
41+
cache: gradle
4142

4243
- name: Build bootJar with Gradle
4344
run: ./gradlew check build

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,22 @@ jobs:
2323

2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
# We must fetch at least the immediate parents so that if this is
2929
# a pull request then we can checkout the head.
3030
fetch-depth: 2
3131

32-
- name: Set up JDK 11
33-
uses: actions/setup-java@v3
32+
- name: Set up JDK 17
33+
uses: actions/setup-java@v4
3434
with:
3535
java-version: 17
3636
distribution: 'temurin'
37+
cache: gradle
3738

3839
# Initializes the CodeQL tools for scanning.
3940
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v2
41+
uses: github/codeql-action/init@v3
4142
# Override language selection by uncommenting this and choosing your languages
4243
with:
4344
languages: java
@@ -52,4 +53,4 @@ jobs:
5253
- run: ./gradlew jar
5354

5455
- name: Perform CodeQL Analysis
55-
uses: github/codeql-action/analyze@v2
56+
uses: github/codeql-action/analyze@v3

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,20 @@ jobs:
1717
build-deploy:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121

2222
- name: Setup JDK
23-
uses: actions/setup-java@v3
23+
uses: actions/setup-java@v4
2424
with:
2525
java-version: 17
2626
distribution: 'temurin'
27+
cache: gradle
2728

2829
- name: Build javadoc
2930
run: ./gradlew --no-daemon javadoc
3031

3132
- name: Set up Python
32-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3334
with:
3435
python-version: '3.7.15'
3536
architecture: 'x64'
@@ -145,7 +146,7 @@ jobs:
145146
cp -R temp/site/. public/dev/en
146147
147148
- name: Deploy
148-
uses: peaceiris/actions-gh-pages@v3.9.3
149+
uses: peaceiris/actions-gh-pages@v4.0.0
149150
with:
150151
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
151152
publish_branch: gh-pages

.github/workflows/gradle.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,21 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
java_version: ['17', '20']
21+
java_version: ['17', '21']
2222
os: [ubuntu-latest, windows-latest, macOS-latest]
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Set up JDK ${{ matrix.java_version }}
26-
uses: actions/setup-java@v3
26+
uses: actions/setup-java@v4
2727
with:
2828
java-version: ${{ matrix.java_version }}
2929
distribution: 'temurin'
30+
cache: gradle
3031
- name: Build with Gradle
3132
run: ./gradlew check --stacktrace
3233
- name: Archive test results
3334
if: failure()
34-
uses: actions/upload-artifact@v3
35+
uses: actions/upload-artifact@v4
3536
with:
3637
name: junit_report_${{ matrix.os }}_${{ matrix.java_version }}
3738
path: build/reports/tests/test

.github/workflows/javadoc.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ jobs:
1717
needs: gatekeeper
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- name: Set up JDK
22-
uses: actions/setup-java@v3
22+
uses: actions/setup-java@v4
2323
with:
2424
java-version: 17
2525
distribution: 'temurin'
26+
cache: gradle
2627
- name: Check javadoc build
2728
run: ./gradlew javadoc --stacktrace

.github/workflows/pre-qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: echo ${{ github.event.number }} > PR_NUMBER.txt
2222
- name: Archive PR number
2323
if: github.event_name == 'pull_request'
24-
uses: actions/upload-artifact@v3
24+
uses: actions/upload-artifact@v4
2525
with:
2626
name: PR_NUMBER
2727
path: PR_NUMBER.txt

.github/workflows/publish-to-sonatype.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ jobs:
1212
publish:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- name: Set up JDK
17-
uses: actions/setup-java@v3
17+
uses: actions/setup-java@v4
1818
with:
1919
java-version: 17
2020
distribution: 'temurin'
21+
cache: gradle
2122
- name: Publish to Sonatype
2223
run: ./gradlew publishMavenPublicationToSonatypeRepository -PsimplifyVersion
2324
env:

0 commit comments

Comments
 (0)