Bump System.Security.Cryptography.Xml #57
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: .NET | |
on: | |
pull_request: | |
branches: [ main ] | |
types: [ opened, synchronize, closed ] | |
push: | |
paths-ignore: | |
- README.md | |
- CHANGELOG.md # Should never be edited anyway | |
- .gitignore | |
- .github/** | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.x | |
- name: Restore dependencies | |
run: dotnet restore | |
working-directory: CIE.AspNetCore.Authentication | |
- name: Build | |
run: dotnet build --no-restore | |
working-directory: CIE.AspNetCore.Authentication | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
working-directory: CIE.AspNetCore.Authentication | |
- name: Restore dependencies WebApp | |
run: dotnet restore | |
working-directory: CIE.AspNetCore.Authentication/CIE.AspNetCore.WebApp | |
- name: Build WebApp | |
run: dotnet build --no-restore | |
working-directory: CIE.AspNetCore.Authentication/CIE.AspNetCore.WebApp | |
- name: Run CIE.AspNetCore.WebApp | |
working-directory: CIE.AspNetCore.Authentication/CIE.AspNetCore.WebApp | |
run: dotnet run & | |
- name: Update apt repo | |
run: sudo apt update | |
- name: Install dependencies | |
run: sudo apt install -y libxml2-dev libxmlsec1-dev libxmlsec1-openssl xmlsec1 python3-pip && pip install cryptography==38.0.4 | |
- name: Install spid-sp-test | |
run: sudo pip install spid-sp-test --upgrade --no-cache | |
- name: Test Metadata cie-sp-public with spid-sp-test | |
run: spid_sp_test --metadata-url https://localhost:5001/metadata-cie/metadata1.xml --extra --debug ERROR --profile cie-sp-public | |
- name: Test Metadata cie-sp-private with spid-sp-test | |
run: spid_sp_test --metadata-url https://localhost:5001/metadata-cie/metadata3.xml --extra --debug ERROR --profile cie-sp-private |