Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update github action workflows (#240)

Leendert de Borst693d419bd9d2
diff --git a/.github/workflows/dotnet-e2e-tests.yml b/.github/workflows/dotnet-e2e-tests.yml
index 020a3d437..e8c0a5f9f 100644
--- a/.github/workflows/dotnet-e2e-tests.yml
+++ b/.github/workflows/dotnet-e2e-tests.yml
@@ -19,7 +19,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.0.x
+ dotnet-version: 8.0.304
- name: Install dependencies
run: dotnet workload install wasm-tools
diff --git a/.github/workflows/dotnet-integration-tests.yml b/.github/workflows/dotnet-integration-tests.yml
index 76e87bf83..ae2be52d2 100644
--- a/.github/workflows/dotnet-integration-tests.yml
+++ b/.github/workflows/dotnet-integration-tests.yml
@@ -19,13 +19,13 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.0.x
+ dotnet-version: 8.0.304
- name: Install dependencies
run: dotnet workload install wasm-tools
- name: Build
run: dotnet build
-
+
- name: Run integration tests
run: dotnet test src/Tests/AliasVault.IntegrationTests --no-build --verbosity normal
diff --git a/.github/workflows/dotnet-unit-tests.yml b/.github/workflows/dotnet-unit-tests.yml
index 3ee628f2c..61dac0a66 100644
--- a/.github/workflows/dotnet-unit-tests.yml
+++ b/.github/workflows/dotnet-unit-tests.yml
@@ -18,7 +18,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.0.x
+ dotnet-version: 8.0.304
- name: Install dependencies
run: dotnet workload install wasm-tools
@@ -28,6 +28,6 @@ jobs:
- name: Build
run: dotnet build --no-restore
-
+
- name: Run unittests
run: dotnet test src/Tests/AliasVault.UnitTests --no-build --verbosity normal
diff --git a/docs/misc/run-github-actions-locally.md b/docs/misc/run-github-actions-locally.md
index 1fe23294f..789df7bad 100644
--- a/docs/misc/run-github-actions-locally.md
+++ b/docs/misc/run-github-actions-locally.md
@@ -54,12 +54,13 @@ This command tells `act` to use the `catthehacker/ubuntu:full-latest` Docker ima
To run and debug the E2E tests for AliasVault using a more complete runner image, use the following command:
```bash
-act -W .github/workflows/dotnet-e2e-tests.yml -P ubuntu-latest=catthehacker/ubuntu:full-latest
+act -W .github/workflows/dotnet-e2e-tests.yml -P ubuntu-latest=catthehacker/ubuntu:full-latest --container-architecture linux/amd64
```
This command does the following:
- `-W .github/workflows/dotnet-e2e-tests.yml`: Specifies the workflow file to run
- `-P ubuntu-latest=catthehacker/ubuntu:full-latest`: Uses a more complete Ubuntu image that better replicates the GitHub-hosted runner environment
+- `--container-architecture linux/amd64`: Specifies the architecture of the Docker container to use
Running this command will execute the E2E tests locally, allowing you to debug and test your workflow without pushing changes to the repository.