chore: Add release-please support. #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and run | |
on: | |
push: | |
branches: [ main, 'feat/**' ] | |
paths-ignore: | |
- '**.md' # Do not need to run CI for markdown changes. | |
pull_request: | |
branches: [ main, 'feat/**' ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build-and-run: | |
strategy: | |
matrix: | |
target: | |
- os: windows-latest | |
- os: ubuntu-latest | |
fail-fast: false | |
runs-on: ${{ matrix.target.os }} | |
permissions: | |
id-token: write # Needed if using OIDC to get release secrets. | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet build tools | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0 | |
- run: dotnet restore | |
- run: dotnet build src/LaunchDarkly.EventSource/LaunchDarkly.EventSource.csproj | |
- run: dotnet test test/LaunchDarkly.EventSource.Tests/LaunchDarkly.EventSource.Tests.csproj | |
- name: build docs | |
uses: ./.github/actions/build-docs |