Skip to content

Commit

Permalink
Pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Mar 7, 2024
1 parent af421bb commit 8aae5c7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,42 +33,42 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Fetch all tags and branches
run: git fetch --prune --unshallow

# .net Core setup
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 2.1

- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 3.1

- name: Setup .NET 5.x
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 5.x

- name: Setup .NET 6.x
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 6.x

# Caching Tools
- name: Cache Tools
uses: actions/cache@v4.0.1
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}

# Build
- name: Build Project
uses: cake-build/cake-action@v1
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
with:
script-path: recipe.cake
target: CI
Expand All @@ -78,23 +78,23 @@ jobs:

# Publish artifacts
- name: Publish Issues-Report as build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: matrix.os == 'windows-latest'
with:
if-no-files-found: warn
name: Issue Report
path: BuildArtifacts/report.html

- name: Publish NuGet package as build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: matrix.os == 'ubuntu-22.04'
with:
if-no-files-found: warn
name: NuGet Package
path: BuildArtifacts/Packages/**/*

- name: Publish coverage artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: matrix.os == 'ubuntu-22.04'
with:
if-no-files-found: warn
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Setup .NET 5.x
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 5.x

- name: Setup .NET 6.x
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 6.x

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -60,7 +60,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -74,4 +74,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3
20 changes: 10 additions & 10 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Fetch all tags and branches
run: git fetch --prune --unshallow

# .net Core setup
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 2.1

- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 3.1

- name: Setup .NET 5.x
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 5.x

- name: Setup .NET 6.x
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
with:
dotnet-version: 6.x

# Caching Tools
- name: Cache Tools
uses: actions/cache@v4.0.1
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}

# Build
- name: Build Project
uses: cake-build/cake-action@v1
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
with:
script-path: recipe.cake
target: CI
Expand All @@ -62,23 +62,23 @@ jobs:

# Publish
- name: Publish Issues-Report as build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: matrix.os == 'windows-latest'
with:
if-no-files-found: warn
name: Issue Report
path: BuildArtifacts/report.html

- name: Publish NuGet package as build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: matrix.os == 'ubuntu-22.04'
with:
if-no-files-found: warn
name: NuGet Package
path: BuildArtifacts/Packages/**/*

- name: Publish coverage artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: matrix.os == 'ubuntu-22.04'
with:
if-no-files-found: warn
Expand Down

0 comments on commit 8aae5c7

Please sign in to comment.