Fix CI: use git checkout without node actions
This commit is contained in:
parent
ec103371d3
commit
c322fd69c6
|
|
@ -14,7 +14,17 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: gradle:8.7-jdk21
|
image: gradle:8.7-jdk21
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Install git
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y --no-install-recommends git ca-certificates
|
||||||
|
git --version
|
||||||
|
|
||||||
|
- name: Checkout (git)
|
||||||
|
run: |
|
||||||
|
git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" .
|
||||||
|
git checkout "${GITHUB_SHA}"
|
||||||
|
|
||||||
- name: Test + build (backend)
|
- name: Test + build (backend)
|
||||||
working-directory: back001
|
working-directory: back001
|
||||||
run: ./gradlew test build --no-daemon
|
run: ./gradlew test build --no-daemon
|
||||||
|
|
@ -24,7 +34,17 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/cirruslabs/flutter:stable
|
image: ghcr.io/cirruslabs/flutter:stable
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Install git
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y --no-install-recommends git ca-certificates
|
||||||
|
git --version
|
||||||
|
|
||||||
|
- name: Checkout (git)
|
||||||
|
run: |
|
||||||
|
git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" .
|
||||||
|
git checkout "${GITHUB_SHA}"
|
||||||
|
|
||||||
- name: Analyze + test (flutter)
|
- name: Analyze + test (flutter)
|
||||||
working-directory: front001/mosenioring
|
working-directory: front001/mosenioring
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue