Skip to content

Commit b5f43fb

Browse files
Seppli11sonartech
authored andcommitted
SONARPY-3444 Migrate windows build task (#577)
GitOrigin-RevId: e63c34bc63feff444aa4232c8029b65f6369e30d
1 parent 240ab76 commit b5f43fb

3 files changed

Lines changed: 16 additions & 3 deletions

File tree

.github/actions/config-sonar-python/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ runs:
2424
# updating the build number doesn't propagate to private/. As such, the version needs to be updated specifically in the private/ folder
2525
# See BUILD-9394 for details
2626
cd private
27-
bash ${{ github.action_path }}/set_maven_version.sh
27+
bash ${GITHUB_ACTION_PATH}/set_maven_version.sh
2828
env:
2929
BUILD_NUMBER: ${{ inputs.build-number || steps.mvn-config.outputs.BUILD_NUMBER }}

its/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,22 @@
9090
</configuration>
9191
</execution>
9292
</executions>
93+
<dependencies>
94+
<dependency>
95+
<groupId>${project.groupId}</groupId>
96+
<artifactId>sonar-python-plugin</artifactId>
97+
<version>${project.version}</version>
98+
</dependency>
99+
<dependency>
100+
<groupId>${project.groupId}</groupId>
101+
<artifactId>python-custom-rules-example</artifactId>
102+
<version>${project.version}</version>
103+
</dependency>
104+
</dependencies>
93105
</plugin>
94106
</plugins>
95107
</build>
96108
</profile>
97109
</profiles>
98110

99-
</project>
111+
</project>

mise.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
java = "17.0"
33
maven = "3.9"
44
python = "3.9"
5-
"pipx:tox" = "latest"
5+
uv = "latest" # required for pipx backend
6+
"pipx:tox" = { version = "latest", uvx = "true" }

0 commit comments

Comments
 (0)