Qualtity - Bump actions/download-artifact from 7 to 8 (#2203) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependab... #2374
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Quality | |
| on: | |
| pull_request: | |
| paths: | |
| - '**/java/**' | |
| - 'web/siteplan/**' | |
| - 'web/textviewer/**' | |
| push: | |
| tags: | |
| - 'v**' | |
| branches: | |
| - 'release/**' | |
| - 'main' | |
| run-name: Qualtity - ${{github.event_name == 'push' && github.event.head_commit.message || github.event_name == 'pull_request' && github.event.pull_request.title || 'Unknow name'}} | |
| jobs: | |
| java-formatting: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Java | |
| uses: eclipse-set/build/.github/actions/setup-java@main | |
| - name: Get eclipse | |
| run: mkdir ./tmp && wget -O ./tmp/eclipse.tar.gz https://archive.eclipse.org/technology/epp/downloads/release/2024-06/R/eclipse-java-2024-06-R-linux-gtk-x86_64.tar.gz | |
| - name: Unzip eclipse | |
| run: tar -xf ./tmp/eclipse.tar.gz -C ./tmp | |
| - name: Test | |
| run: ls -la $JAVA_HOME/bin | |
| - name: Run eclipse formatter | |
| run: ./tmp/eclipse/eclipse -noSplash -vm "$JAVA_HOME/bin/java" -data ./tmp/workspace -application org.eclipse.jdt.core.JavaCodeFormatter -config ./releng/eclipse/java-formatter.epf . | |
| - name: Cleanup eclipse | |
| run: rm -R ./tmp | |
| - name: Print diffs | |
| run: git --no-pager diff --exit-code | |
| lint-siteplan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: cd web/siteplan && npm install | |
| - name: Eslint | |
| run: cd web/siteplan && npm run lint | |
| lint-textviewer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: cd web/textviewer && npm install | |
| - name: Eslint | |
| run: cd web/textviewer && npm run lint | |