Skip to content

Update GitHub Actions, keep workflows alive, rearrange README.md header #538

Update GitHub Actions, keep workflows alive, rearrange README.md header

Update GitHub Actions, keep workflows alive, rearrange README.md header #538

Workflow file for this run

name: .NET SDK CI
on:
schedule:
- cron: '0 0 * * *'
push:
branches: [ master ]
paths-ignore:
- '**.md'
- 'appveyor*'
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
build-test:
strategy:
matrix:
dotnet-version: [{sdk: "3.1.100", tfm: netcoreapp3.1}, {sdk: "6.0.100", tfm: net6.0}, {sdk: "8.0.100", tfm: net8.0}, {sdk: "9.0.100", tfm: net8.0}]
os: [ubuntu-latest, windows-latest, macOS-latest]
exclude:
- dotnet-version: {sdk: "3.1.100", tfm: netcoreapp3.1}
os: ubuntu-latest
- dotnet-version: {sdk: "3.1.100", tfm: netcoreapp3.1}
os: macOS-latest
name: Build & test on .NET ${{ matrix.dotnet-version.sdk }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with: |

Check failure on line 34 in .github/workflows/linux-macOS-CI.yml

View workflow run for this annotation

GitHub Actions / .NET SDK CI

Invalid workflow file

The workflow is not valid. .github/workflows/linux-macOS-CI.yml (Line: 34, Col: 15): Unexpected value '3.1.x 6.0.x 8.0.x 9.0.x '
3.1.x
6.0.x
8.0.x
9.0.x
- name: Build
run: |
dotnet build src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj -c Release -f ${{ matrix.dotnet-version.tfm }}
- name: Pin dotnet version
run: |
dotnet new global.json --sdk-version ${{ matrix.dotnet-version.sdk }} --roll-forward latestFeature
- name: Test
run: |
dotnet test src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj -c Release -f ${{ matrix.dotnet-version.tfm }} --no-build