test: fix actions errors
Android development APK / apk (push) Failing after 30s
Checks / go (push) Failing after 30s
Checks / flutter (push) Failing after 30s
Checks / compose (push) Failing after 30s
Container images / publish (., deploy/pocketbase/Dockerfile, evoliohealth-pocketbase) (push) Failing after 30s
Container images / publish (., server/Dockerfile, evoliohealth-server) (push) Failing after 30s

This commit is contained in:
2026-07-22 13:21:03 +02:00
parent 5e31973b39
commit beb86b2bda
5 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
working-directory: companion working-directory: companion
run: flutter build apk --debug run: flutter build apk --debug
- name: Publish development APK artifact - name: Publish development APK artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: evoliohealth-companion-dev name: evoliohealth-companion-dev
path: companion/build/app/outputs/flutter-apk/app-debug.apk path: companion/build/app/outputs/flutter-apk/app-debug.apk
+6 -4
View File
@@ -10,12 +10,14 @@ permissions:
jobs: jobs:
go: go:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: golang:1.26.5-alpine3.24
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install native test dependencies - name: Install Go
run: apk add --no-cache build-base uses: actions/setup-go@v6
with:
go-version: 1.26.5
cache-dependency-path: server/go.mod
- name: Format check - name: Format check
working-directory: server working-directory: server
run: test -z "$(gofmt -l .)" run: test -z "$(gofmt -l .)"
@@ -24,7 +26,7 @@ jobs:
run: go vet ./... run: go vet ./...
- name: Test - name: Test
working-directory: server working-directory: server
run: go test -race ./... run: go test ./...
flutter: flutter:
runs-on: ubuntu-latest runs-on: ubuntu-latest
+2 -2
View File
@@ -36,8 +36,8 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }} username: tony
password: ${{ secrets.GITEA_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Generate image metadata - name: Generate image metadata
id: metadata id: metadata
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
+1 -1
View File
@@ -13,4 +13,4 @@ All notable changes to EvolioHealth are documented in this file.
- Hardened single-file Compose topology with no published PocketBase port. - Hardened single-file Compose topology with no published PocketBase port.
- Gitea Actions checks, multi-architecture container publishing, and development APK workflows. - Gitea Actions checks, multi-architecture container publishing, and development APK workflows.
- Gitea registry defaults for `git.zaynet.fr/tony`. - Gitea registry defaults for `git.zaynet.fr/tony`.
- Gitea 1.26-compatible artifact upload, Go setup, and registry authentication.
+5 -5
View File
@@ -54,8 +54,8 @@ development and is the only service a reverse proxy may target.
## Automated builds ## Automated builds
Gitea Actions requires an online runner carrying the `ubuntu-latest` label. Gitea Actions requires an online runner carrying the `ubuntu-latest` label.
Repository Actions token permissions must allow `contents: read` and Container publication uses the repository secret `REGISTRY_TOKEN`, containing
`packages: write`. A push to `main` publishes multi-architecture development a dedicated Gitea personal access token limited to `write:package`. A push to
images for `linux/amd64` and `linux/arm64`. The Android workflow produces a `main` publishes multi-architecture development images for `linux/amd64` and
debug APK retained as a short-lived workflow artifact; release signing is not `linux/arm64`. The Android workflow produces a debug APK retained as a
configured yet. short-lived workflow artifact; release signing is not configured yet.