Skip to content

mesh-2834: update actions to use commit sha for versioning #24

mesh-2834: update actions to use commit sha for versioning

mesh-2834: update actions to use commit sha for versioning #24

Workflow file for this run

name: check-header-validator
on:
pull_request:
branches:
- develop
jobs:
check:
runs-on: ubuntu-latest
if: github.repository == 'NHSDigital/mesh_validate_auth_header'
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 0
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2
with:
channel: 'stable'
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
- run: make check-secrets
- run: flutter analyze
- run: flutter test -r expanded
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@ffc3010689be73b8e5ae0c57ce35968afd7909e8 # v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}