Skip to content

chore(deps): bump actions/setup-java from 4 to 5 #24

chore(deps): bump actions/setup-java from 4 to 5

chore(deps): bump actions/setup-java from 4 to 5 #24

Workflow file for this run

name: QA
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
env:
DOTNET_NOLOGO: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Full history is needed to get a proper list of changed files
fetch-depth: 0
# - uses: github/super-linter@v7
- uses: super-linter/super-linter/slim@v7
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false # Only changed files
VALIDATE_EDITORCONFIG: true
# VALIDATE_CSHARP: false # Checked by SonarQube
VALIDATE_JSON: true
VALIDATE_MARKDOWN: true
VALIDATE_YAML: true
VALIDATE_GITHUB_ACTIONS: true
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended by SonarQube for improving relevancy of reporting
fetch-depth: 0
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
9.0.x
- run: dotnet tool restore
- run: dotnet gitversion /output buildserver
- run: ./sonar-scan.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}