Skip to content

[TSPS-97] Update tag-publish workflow to publish container images from PRs #220

[TSPS-97] Update tag-publish workflow to publish container images from PRs

[TSPS-97] Update tag-publish workflow to publish container images from PRs #220

Workflow file for this run

name: Run linter tests
on:
workflow_dispatch: {}
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
lint-and-static-analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout current code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
- name: Run linter
id: run_linter
run: ./gradlew spotlessCheck
- name: Run static analysis
id: run_static_analysis
run: ./gradlew spotbugsMain spotbugsTest