fix dev CI checkout without node action
This commit is contained in:
@@ -11,13 +11,16 @@ jobs:
|
||||
runs-on: debian-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
run: |
|
||||
git clone --quiet --depth=1 --branch=${{ gitea.ref_name }} ${{ gitea.server_url }}/${{ gitea.repository }} repo
|
||||
- name: Install Bats
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y bats
|
||||
- name: Run Shell Tests
|
||||
run: bats tests/shell/git_update.bats
|
||||
run: |
|
||||
cd repo
|
||||
bats tests/shell/git_update.bats
|
||||
|
||||
deploy:
|
||||
if: gitea.ref_name == 'master'
|
||||
|
||||
Reference in New Issue
Block a user