Fix cache-dependency-path for actions/setup-go caching to work, fix CI files path

This commit is contained in:
Dmitry Verkhoturov
2024-11-10 17:25:16 -06:00
committed by Umputun
parent 9b5f6ee2c5
commit c42511d5a1
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -5,14 +5,14 @@ on:
branches:
tags:
paths:
- ".github/workflows/ci-test-backend.yml"
- ".github/workflows/ci-backend.yml"
- "backend/**"
- "!backend/scripts/**"
- "!**.md"
pull_request:
types: [opened, reopened]
paths:
- ".github/workflows/ci-test-backend.yml"
- ".github/workflows/ci-backend.yml"
- "backend/**"
- "!backend/scripts/**"
- "!**.md"
@@ -33,6 +33,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: "1.23"
cache-dependency-path: backend
- name: test and build backend
run: |
+2
View File
@@ -4,6 +4,7 @@ on:
push:
branches: [master]
paths:
- ".github/workflows/e2e-tests.yml"
- "frontend/apps/remark42/**"
- "frontend/e2e/**"
- "frontend/Dockerfile.e2e"
@@ -11,6 +12,7 @@ on:
pull_request:
branches: [master]
paths:
- ".github/workflows/e2e-tests.yml"
- "frontend/apps/remark42/**"
- "frontend/e2e/**"
- "frontend/Dockerfile.e2e"