Skip to content

Commit

Permalink
8.0.0 preview (#1136)
Browse files Browse the repository at this point in the history
BREAKING CHANGE : .Net 8
  • Loading branch information
aguacongas authored Nov 18, 2023
1 parent 1f2158d commit ef09208
Show file tree
Hide file tree
Showing 332 changed files with 11,342 additions and 4,032 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checkout the branch fix/dependencies with the PAT
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: fix/dependencies
token: ${{ secrets.PAT }}
Expand All @@ -31,9 +31,10 @@ jobs:
git merge origin/master --allow-unrelated-histories
# Setup .NET Core SDK
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v2.1.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.*
dotnet-version: 8
include-prerelease: true
# Restore workload
- name: Restore workload
run: dotnet workload restore
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/codeql-analysis-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install .NET sdk
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.*
dotnet-version: 8
include-prerelease: true
- name: Setup wasm tools
run: dotnet workload install wasm-tools
env:
GITHIB_FEED_TOKEN: ${{ secrets.GITHIB_FEED_TOKEN }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
env:
GITHIB_FEED_TOKEN: ${{ secrets.GITHIB_FEED_TOKEN }}
with:
Expand All @@ -68,4 +69,4 @@ jobs:
name: Build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install .NET sdk
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.200'
dotnet-version: 8
include-prerelease: true
- name: Setup wasm tools
run: dotnet workload restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codesee-arch-diagram.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow was added by CodeSee. Learn more at https://codesee.io/
# This is v2.0 of this workflow file
# This is v3.0 of this workflow file
on:
push:
branches:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- name: Generate HTML from Markdown
uses: ldeluigi/markdown-docs@latest
with:
src: .
src: doc
dst: generated
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: generated

Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/deploy-to-heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This is a basic workflow to help you get started with Actions

name: Deploy to Heroku

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# Build job
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install .NET sdk
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8
include-prerelease: true
- name: Setup wasm tools
run: dotnet workload install wasm-tools
env:
GITHIB_FEED_TOKEN: ${{ secrets.GITHIB_FEED_TOKEN }}
- name: Publish
run: dotnet publish ./src/Aguacongas.TheIdServer.Duende/Aguacongas.TheIdServer.Duende.csproj --output ./heroku_output --configuration Release --runtime linux-x64 --sc -p:SourceRevisionId=$GITHUB_SHA /nr:false /m:1
- name: Deploy
uses: akhileshns/[email protected]
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: "theidserver-duende"
heroku_email: "[email protected]"
buildpack: https://github.com/Aguafrommars/theidserver-buildpack

16 changes: 8 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: theidserverowner
password: ${{ secrets.DOCKER_HUB_PAT }}
Expand All @@ -39,7 +39,7 @@ jobs:
fallback: 1.0.0
- name: Build and push TheIdServer Duende
id: docker_build_theidserver_duende
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
env:
GITHIB_FEED_TOKEN: ${{ secrets.GITHIB_FEED_TOKEN }}
with:
Expand All @@ -51,11 +51,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: theidserverowner
password: ${{ secrets.DOCKER_HUB_PAT }}
Expand All @@ -70,7 +70,7 @@ jobs:
fallback: 1.0.0
- name: Build and push TheIdServerApp
id: docker_build_theidserverapp
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
env:
GITHIB_FEED_TOKEN: ${{ secrets.GITHIB_FEED_TOKEN }}
with:
Expand Down
45 changes: 45 additions & 0 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,48 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License notice for samuel-lucas6/Geralt
---------------------------------------

MIT License

Copyright (c) 2022 Samuel Lucas

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

License notice for BcryptNet/bcrypt.net
---------------------------------------

The MIT License (MIT)
Copyright (c) 2006 Damien Miller [email protected] (jBCrypt)
Copyright (c) 2013 Ryan D. Emerle (.Net port)
Copyright (c) 2016/2021 Chris McKee (.Net-core port / patches)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
Loading

0 comments on commit ef09208

Please sign in to comment.