Skip to content

Bump Newtonsoft.Json from 12.0.3 to 13.0.3 #8

Bump Newtonsoft.Json from 12.0.3 to 13.0.3

Bump Newtonsoft.Json from 12.0.3 to 13.0.3 #8

Workflow file for this run

name: CI Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ci:
name: pester
strategy:
matrix:
os: [ windows-latest, macos-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}
env:
DOTNET_NOLOGO: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dotnet
uses: actions/setup-dotnet@v4
with:
cache: true
cache-dependency-path: '**/*.csproj'
- name: Install PSResources
run: ./tools/installPSResources.ps1
shell: pwsh
- name: Build
run: ./build.ps1 -Configuration Release -All
shell: pwsh
- name: Test
run: ./build.ps1 -Test
shell: pwsh
- name: Test Windows PowerShell
run: |
Install-Module Pester -Scope CurrentUser -Force -SkipPublisherCheck
./build.ps1 -Test
if: matrix.os == 'windows-latest'
shell: powershell
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: PSScriptAnalyzer-tests-${{ matrix.os }}
path: testResults.xml