Add single-container Docker appliance and multi-arch publishing #44
This file contains hidden or 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: TLS lifecycle tests | |
| on: | |
| pull_request: | |
| paths: | |
| - "TruthGate-Web/**" | |
| - ".github/workflows/tls-lifecycle.yml" | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "TruthGate-Web/**" | |
| - ".github/workflows/tls-lifecycle.yml" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "10.0.x" | |
| - name: Restore solution | |
| run: dotnet restore TruthGate-IPFS.sln | |
| # This test project is intentionally outside TruthGate-IPFS.sln, so restore it explicitly. | |
| - name: Restore TLS tests | |
| run: dotnet restore TruthGate-Web/TruthGate-Web.Tests/TruthGate-Web.Tests.csproj | |
| - name: Build solution | |
| run: dotnet build TruthGate-IPFS.sln --no-restore --configuration Release | |
| - name: Test TLS lifecycle | |
| run: >- | |
| dotnet test | |
| TruthGate-Web/TruthGate-Web.Tests/TruthGate-Web.Tests.csproj | |
| --no-restore | |
| --configuration Release | |
| --logger "console;verbosity=normal" |