Skip to content

Merge pull request #1 from Kreedzt/feature/sonar #3

Merge pull request #1 from Kreedzt/feature/sonar

Merge pull request #1 from Kreedzt/feature/sonar #3

Workflow file for this run

name: CI
on:
pull_request:
branches: [master]
push:
branches: [master]
permissions:
contents: read
pages: write
id-token: write
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}