From c105502d4c464017b299f29b0f09ed0a313927a6 Mon Sep 17 00:00:00 2001 From: Franco Testagrossa Date: Thu, 25 Apr 2024 23:41:41 +0200 Subject: [PATCH] Fix gh-action for backend ci --- .github/workflows/ci-backend.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 02e9071..91731cf 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -2,10 +2,10 @@ name: ci-backend on: push: branches: - - master + - main pull_request: paths: - - ./** + - backend/** - .github/workflows/provision-darwin.sh - .github/workflows/provision-linux.sh - .github/workflows/backend.yaml @@ -22,7 +22,7 @@ jobs: - name: Rust Send HTTP GET Darwin run: | dfx start --background - pushd . + pushd backend RUSTFLAGS=-Ctarget-cpu=mvp make test popd backend-linux: @@ -35,6 +35,6 @@ jobs: run: | dfxvm update dfx start --background - pushd . + pushd backend RUSTFLAGS=-Ctarget-cpu=mvp make test popd