Skip to content

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

Update workflows (#374)

Leendert de Borst15abd1f51b9c
diff --git a/.github/workflows/docker-compose-build.yml b/.github/workflows/docker-compose-build.yml
index 8f81ebe32..ed2878052 100644
--- a/.github/workflows/docker-compose-build.yml
+++ b/.github/workflows/docker-compose-build.yml
@@ -1,3 +1,4 @@
+# This workflow will test if building the Docker Compose containers from scratch works.
name: Docker Compose Build
on:
@@ -17,10 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Set permissions and run install.sh
+ - name: Set permissions and run build.sh
run: |
- chmod +x install.sh
- ./install.sh
+ chmod +x build.sh
+ ./build.sh
- name: Set up Docker Compose
run: |
@@ -87,11 +88,11 @@ jobs:
echo "SmtpService responded on port 2525"
fi
- - name: Test install.sh --reset-password output
+ - name: Test build.sh --reset-password output
run: |
- output=$(./install.sh --reset-password)
- if ! echo "$output" | grep -E '^Password: [a-zA-Z0-9]{8,}$'; then
- echo "Password reset output format is incorrect. Expected format: 'Password: <at least 8 chars>'"
+ output=$(./build.sh --reset-password)
+ if ! echo "$output" | grep -E '^New admin password: [a-zA-Z0-9]{8,}$'; then
+ echo "Password reset output format is incorrect. Expected format: 'New admin password: <at least 8 chars>'"
echo "Actual output: $output"
exit 1
else
diff --git a/.github/workflows/dotnet-e2e-admin-tests.yml b/.github/workflows/dotnet-e2e-admin-tests.yml
index 6a67b7cfb..f807b8175 100644
--- a/.github/workflows/dotnet-e2e-admin-tests.yml
+++ b/.github/workflows/dotnet-e2e-admin-tests.yml
@@ -1,3 +1,4 @@
+# This workflow will test if running the E2E Admin tests via Playwright CLI works.
name: .NET E2E Admin Tests (Playwright)
on:
diff --git a/.github/workflows/dotnet-e2e-client-tests.yml b/.github/workflows/dotnet-e2e-client-tests.yml
index f2221c8c4..2bb3f747c 100644
--- a/.github/workflows/dotnet-e2e-client-tests.yml
+++ b/.github/workflows/dotnet-e2e-client-tests.yml
@@ -1,3 +1,4 @@
+# This workflow will test if running the E2E Client tests via Playwright CLI works.
name: .NET E2E Client Tests (Playwright with Sharding)
on:
diff --git a/.github/workflows/dotnet-e2e-misc-tests.yml b/.github/workflows/dotnet-e2e-misc-tests.yml
index 0eaa5901a..5418f16b9 100644
--- a/.github/workflows/dotnet-e2e-misc-tests.yml
+++ b/.github/workflows/dotnet-e2e-misc-tests.yml
@@ -1,3 +1,4 @@
+# This workflow will test if running the E2E Misc tests via Playwright CLI works.
name: .NET E2E Misc Tests (Playwright)
on:
diff --git a/.github/workflows/dotnet-integration-tests.yml b/.github/workflows/dotnet-integration-tests.yml
index 64db62aea..c6242b5ce 100644
--- a/.github/workflows/dotnet-integration-tests.yml
+++ b/.github/workflows/dotnet-integration-tests.yml
@@ -1,6 +1,4 @@
-# This workflow will build a .NET project
-# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
-
+# This workflow will test if running the integration tests works.
name: .NET Integration Tests
on:
diff --git a/.github/workflows/dotnet-unit-tests.yml b/.github/workflows/dotnet-unit-tests.yml
index 3c1df061d..27140da4b 100644
--- a/.github/workflows/dotnet-unit-tests.yml
+++ b/.github/workflows/dotnet-unit-tests.yml
@@ -1,6 +1,4 @@
-# This workflow will build a .NET project
-# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
-
+# This workflow will test if running the unit tests works.
name: .NET Unit Tests
on:
diff --git a/.github/workflows/sonarcloud-code-analysis.yml b/.github/workflows/sonarcloud-code-analysis.yml
index 250c54f0c..9738b21aa 100644
--- a/.github/workflows/sonarcloud-code-analysis.yml
+++ b/.github/workflows/sonarcloud-code-analysis.yml
@@ -1,3 +1,4 @@
+# This workflow will perform a SonarCloud code analysis on every push to the main branch or when a pull request is opened, synchronized, or reopened.
name: SonarCloud code analysis
on:
push: