Skip to content

Rewrite persistence to use Windows / macOS / Linux native keyrings #3

Rewrite persistence to use Windows / macOS / Linux native keyrings

Rewrite persistence to use Windows / macOS / Linux native keyrings #3

Workflow file for this run

name: Cross-platform verification
on:
push:
branches: [main, develop]
paths-ignore:
- "**.md"
- ".github/ISSUE_TEMPLATE/**"
- ".github/pull_request_template.md"
pull_request:
paths-ignore:
- "**.md"
- ".github/ISSUE_TEMPLATE/**"
- ".github/pull_request_template.md"
workflow_dispatch:
concurrency:
group: cross-platform-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
verify:
name: Build & Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET SDK 10.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Install libsecret (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libsecret-1-0
- name: Restore
run: dotnet restore CredentialCache.sln
- name: Build
run: dotnet build CredentialCache.sln --configuration Release --no-restore
- name: Test
run: dotnet test CredentialCache.Test/CredentialCache.Test.csproj --configuration Release --no-build