Skip to content

chore(deps): update konflux references #1511

chore(deps): update konflux references

chore(deps): update konflux references #1511

Workflow file for this run

name: Linting and Unit tests
on:
push:
branches:
- main
- release-[0-9]+.[0-9]+
pull_request:
branches:
- main
- release-[0-9]+.[0-9]+
defaults:
run:
shell: bash
jobs:
linting-and-unit-tests:
runs-on: ubuntu-latest
name: Linting and Unit tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Verify modules
run: |
go mod verify
- name: Some quality checks
run: |
make fmt
git diff --exit-code
make lint
make gosec-scan
- name: Unit and Integration Tests
run: |
make test
- name: SonarCloud Analysis
if: |
github.event_name == 'push' &&
github.repository_owner == 'stolostron' &&
matrix.kind == 'latest'
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
--debug