@ -133,6 +133,27 @@ jobs:
shell : pwsh
run : __tests__/verify-dotnet.ps1 -Patterns "^2.2", "^3.1"
test-ABCxx-syntax:
runs-on : ${{ matrix.operating-system }}
strategy:
fail-fast : false
matrix:
operating-system : [ ubuntu-latest, windows-latest, macOS-latest]
steps:
- name : Checkout
uses : actions/checkout@v3
- name : Clear toolcache
shell : pwsh
run : __tests__/clear-toolcache.ps1 ${{ runner.os }}
- name : Setup dotnet 6.0.4xx
uses : ./
with:
dotnet-version : '6.0.4xx'
- name : Verify dotnet
shell : pwsh
run : __tests__/verify-dotnet.ps1 -Patterns "^6\.0\.4\d{2}"
test-setup-with-wildcard:
runs-on : ${{ matrix.operating-system }}
strategy:
@ -183,7 +204,7 @@ jobs:
shell : pwsh
run : __tests__/verify-dotnet.ps1 -Patterns "^2.2", "^3.1"
test-setup- with-dotnet-qualit y:
test-setup- global-json-onl y:
runs-on : ${{ matrix.operating-system }}
strategy:
fail-fast : false
@ -195,17 +216,20 @@ jobs:
- name : Clear toolcache
shell : pwsh
run : __tests__/clear-toolcache.ps1 ${{ runner.os }}
- name : Setup dotnet 7.0 with preview quality
- name : Write global.json
shell : bash
run : |
mkdir subdirectory
echo '{"sdk":{"version": "2.2.207","rollForward": "latestFeature"}}' > ./subdirectory/global.json
- name : Setup dotnet
uses : ./
with:
dotnet-version : '7.0'
dotnet-quality : 'preview'
global-json-file : ./subdirectory/global.json
- name : Verify dotnet
shell : pwsh
run : __tests__/verify-dotnet.ps1 -Patterns "^ 7\.0\.\d+- "
run : __tests__/verify-dotnet.ps1 -Patterns "^ 2.2 "
test- ABCxx-syntax :
test- setup-with-dotnet-quality :
runs-on : ${{ matrix.operating-system }}
strategy:
fail-fast : false
@ -218,13 +242,14 @@ jobs:
shell : pwsh
run : __tests__/clear-toolcache.ps1 ${{ runner.os }}
- name : Setup dotnet 6.0.4xx
- name : Setup dotnet 7.0 with preview quality
uses : ./
with:
dotnet-version : '6.0.4xx'
dotnet-version : '7.0'
dotnet-quality : 'preview'
- name : Verify dotnet
shell : pwsh
run : __tests__/verify-dotnet.ps1 -Patterns "^ 6\.0\.4\d{2} "
run : __tests__/verify-dotnet.ps1 -Patterns "^ 7\.0\.\d+- "
test-dotnet-version-output-during-single-version-installation:
runs-on : ${{ matrix.operating-system }}