Skip to content

Commit ed95cab

Browse files
committed
Merge origin/main and remove QuoteForWindows from exec args
2 parents ec8965c + 7f1e8dc commit ed95cab

Some content is hidden

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

72 files changed

+7488
-770
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
lint:
4343
name: "Lint"
4444
runs-on: ubuntu-latest
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.QODANA_JBR_TOKEN }}
4547
permissions:
4648
checks: write
4749
pull-requests: write
@@ -142,6 +144,8 @@ jobs:
142144
goreleaser:
143145
name: "GoReleaser (${{ github.ref == 'refs/heads/main' && 'nightly' || 'build' }})"
144146
runs-on: ubuntu-latest
147+
env:
148+
GITHUB_TOKEN: ${{ secrets.QODANA_JBR_TOKEN }}
145149
permissions:
146150
contents: write
147151
steps:

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
check:
1212
runs-on: ubuntu-latest
1313
name: Check README.md
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.QODANA_JBR_TOKEN }}
1416
steps:
1517
- uses: actions/checkout@v6
1618
- uses: ./.github/actions/mock-dependencies
@@ -19,4 +21,4 @@ jobs:
1921
cache-dependency-path: "**/*.sum"
2022
go-version-file: go.mod
2123
- name: Check README.md is up to date
22-
run: go run scripts/generate-docs.go --check
24+
run: go generate ./... && go run scripts/generate-docs.go --check

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
lint:
1111
name: lint
1212
runs-on: ubuntu-latest
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.QODANA_JBR_TOKEN }}
1315
steps:
1416
- name: Checkout
1517
uses: actions/checkout@v6

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
name: Test
2323
runs-on: ${{ inputs.os }}
2424
timeout-minutes: 30
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.QODANA_JBR_TOKEN }}
2527
steps:
2628
- uses: actions/checkout@v6
2729
with:

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
.qodana
66
*.zip
77
*.jar
8+
*.tar.gz
89
qodana
10+
internal/tooling/qodana-jbrs
11+
internal/tooling/libs
912
### Go ###
1013
# Binaries for programs and plugins
1114
*.exe
@@ -204,8 +207,6 @@ dist/
204207
/platform/*-err.log
205208
/platform/*-out.log
206209

207-
# Test temp files
208-
.tmp/
209210

210211
# Claude Code local files
211212
# see https://code.claude.com/docs/en/settings#configuration-scopes

.goreleaser.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ builds:
4949
- CGO_ENABLED=0
5050
- TARGETOS={{.Os}}
5151
- TARGETARCH={{.Arch}}
52+
- VERSION={{ envOrDefault "VERSION" "DEV" }}
5253
ldflags:
5354
- -s -w -X main.version={{ .Env.VERSION }} -X main.buildDateStr={{ .Date }}
5455
goos:
@@ -70,6 +71,7 @@ builds:
7071
- CGO_ENABLED=0
7172
- TARGETOS={{.Os}}
7273
- TARGETARCH={{.Arch}}
74+
- VERSION={{ envOrDefault "VERSION" "DEV" }}
7375
ldflags:
7476
- -s -w -X main.version={{ .Env.VERSION }} -X main.buildDateStr={{ .Date }}
7577
goos:

cdnet/cdnet_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ func TestLinterRun(t *testing.T) {
8585
}
8686
fmt.Println("Found issues: ", resultsSize)
8787

88-
resultAllProblems, err := os.ReadFile(filepath.Join(outputDir, "report", "result-allProblems.json"))
88+
reportDir := filepath.Join(outputDir, "report")
89+
resultAllProblems, err := os.ReadFile(filepath.Join(platform.ReportResultsPath(reportDir), "result-allProblems.json"))
8990
if err != nil {
9091
t.Fatal("Error reading all problems file", err)
9192
}

clang/clang_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ func TestLinterRun(t *testing.T) {
7070
}
7171
fmt.Println("Found issues: ", resultsSize)
7272

73-
resultAllProblems, err := os.ReadFile(filepath.Join(outputDir, "report", "result-allProblems.json"))
73+
reportDir := filepath.Join(outputDir, "report")
74+
resultAllProblems, err := os.ReadFile(filepath.Join(platform.ReportResultsPath(reportDir), "result-allProblems.json"))
7475
if err != nil {
7576
t.Fatal("Error reading all problems file", err)
7677
}

dockerfiles/base/cpp-community.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
3737
make \
3838
patch \
3939
libc6-dev \
40-
locales && \
40+
locales \
41+
openssh-client && \
4142
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && locale-gen && \
4243
apt-get autoremove -y && apt-get clean && \
4344
chmod 777 -R $HOME && \

dockerfiles/base/dotnet-community.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
4141
git-lfs \
4242
gnupg2 \
4343
locales \
44+
openssh-client \
4445
procps \
4546
software-properties-common
4647

0 commit comments

Comments
 (0)