-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: don't to install .net, use from container
- Loading branch information
Showing
3 changed files
with
4 additions
and
151 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,13 +43,6 @@ jobs: | |
cache: 'npm' | ||
cache-dependency-path: | | ||
src/Sitko.Core.Blazor.AntDesign/Web/package.json | ||
- name: Install .NET | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
- name: Build blazor js | ||
working-directory: src/${{ env.FRONTNED_PROJECT }}/Web | ||
shell: bash | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,45 +9,28 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/sitkoru/actions-container | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Install .NET | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
- name: Build | ||
run: dotnet build -c Release | ||
- name: Create packages | ||
run: dotnet pack -c Release -o $(pwd)/packages | ||
apps: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/sitkoru/actions-container | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Run tests | ||
run: dotnet test --logger GitHubActions tests/Sitko.Core.App.Tests/Sitko.Core.App.Tests.csproj | ||
|
||
blazor: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/sitkoru/actions-container | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install node.js | ||
|
@@ -63,41 +46,16 @@ jobs: | |
run: | | ||
npm ci | ||
npm run prod | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Run tests | ||
run: dotnet test --logger GitHubActions tests/Sitko.Core.App.Blazor.Tests/Sitko.Core.App.Blazor.Tests.csproj | ||
|
||
grpc: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/sitkoru/actions-container | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Run tests | ||
|
@@ -108,19 +66,6 @@ jobs: | |
container: ghcr.io/sitkoru/actions-container | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Run tests | ||
|
@@ -137,19 +82,6 @@ jobs: | |
run: | | ||
apt-get update | ||
apt-get install -y google-chrome-stable | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Run tests | ||
|
@@ -166,19 +98,6 @@ jobs: | |
image: nats-streaming:latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Run tests Sitko.Core.Queue | ||
|
@@ -202,19 +121,6 @@ jobs: | |
POSTGRES_HOST_AUTH_METHOD: trust | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Run tests | ||
|
@@ -230,19 +136,6 @@ jobs: | |
image: titpetric/sonyflake | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Run tests | ||
|
@@ -270,19 +163,6 @@ jobs: | |
POSTGRES_HOST_AUTH_METHOD: trust | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Add Github Actions logger | ||
run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger | ||
- name: Sitko.Core.Storage.FileSystem | ||
|
@@ -306,19 +186,6 @@ jobs: | |
image: titpetric/sonyflake | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install .NET Core 3.1 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Install .NET 5.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install .NET 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
include-prerelease: true | ||
- name: Install Vault | ||
run: | | ||
curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,13 +16,6 @@ jobs: | |
run: | | ||
VERSION=${GITHUB_REF#refs/tags/} | ||
echo ::set-output name=version::${VERSION} | ||
- name: Install .NET | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
- name: Install node.js | ||
uses: actions/[email protected] | ||
with: | ||
|