Skip to content

chore(deps): update dependency roslynator.analyzers to 4.12.9 #181

chore(deps): update dependency roslynator.analyzers to 4.12.9

chore(deps): update dependency roslynator.analyzers to 4.12.9 #181

Workflow file for this run

name: Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
key: "${{ matrix.name }}"
save-if: ${{ github.ref == 'refs/heads/main' }}
workspaces: |
external/matrix-rust-sdk
- name: Build matrix-rust-sdk
run: cargo build
working-directory: external/matrix-rust-sdk
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}