Skip to content

Commit

Permalink
Update backend-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdr21001 authored Apr 25, 2025
1 parent 3fbf17f commit c97ae37
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions backend/.github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ jobs:
runs-on: self-hosted

steps:
- name: Checkout repository
- name: Clean GitHub Actions workspace manually (force clean)
run: |
sudo rm -rf $GITHUB_WORKSPACE/*
- name: Checkout repository without submodules
uses: actions/checkout@v2
with:
submodules: false # Don't check submodules to avoid .gitmodules error
submodules: false
clean: true
fetch-depth: 0
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v2
Expand All @@ -37,10 +44,17 @@ jobs:
needs: lint

steps:
- name: Checkout repository
- name: Clean GitHub Actions workspace manually (force clean)
run: |
sudo rm -rf $GITHUB_WORKSPACE/*
- name: Checkout repository without submodules
uses: actions/checkout@v2
with:
submodules: false
submodules: false
clean: true
fetch-depth: 0
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v2
Expand Down Expand Up @@ -96,10 +110,13 @@ jobs:
needs: lint

steps:
- name: Checkout repository
- name: Checkout repository without submodules
uses: actions/checkout@v2
with:
submodules: false
submodules: false
clean: true
fetch-depth: 0
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v3
Expand Down

0 comments on commit c97ae37

Please sign in to comment.