From 7694ff3388b4dcbc86b9f056fc723ac9ccd9f8d3 Mon Sep 17 00:00:00 2001 From: Leonid Pershin Date: Sat, 25 Jul 2026 20:22:48 +0300 Subject: [PATCH] Update CI workflows to use setup actions: replace container definitions with setup-dotnet and setup-node actions for backend and frontend jobs, ensuring consistent environment configuration for builds and tests. --- .gitea/workflows/build.yml | 8 ++++++-- .gitea/workflows/test.yml | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index b041621..71e763f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -8,9 +8,11 @@ on: jobs: backend: runs-on: ubuntu-latest - container: mcr.microsoft.com/dotnet/sdk:10.0 steps: - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: 10.0.x - name: Restore working-directory: backend run: dotnet restore TeleWave.slnx @@ -20,9 +22,11 @@ jobs: frontend: runs-on: ubuntu-latest - container: node:22 steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 - name: Enable pnpm run: corepack enable - name: Install diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 20e09c5..745861e 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -8,11 +8,13 @@ on: jobs: backend-tests: runs-on: ubuntu-latest - container: mcr.microsoft.com/dotnet/sdk:10.0 permissions: contents: write steps: - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: 10.0.x - name: Restore working-directory: backend run: dotnet restore TeleWave.slnx