mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-05 15:28:42 +02:00
ci: fix: install git before checkout action
This commit is contained in:
parent
afd23657c0
commit
9245d38ecf
28
.github/workflows/check-and-build.yml
vendored
28
.github/workflows/check-and-build.yml
vendored
@ -54,6 +54,10 @@ jobs:
|
|||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git libpam0g-dev"
|
||||||
|
version: 1.0
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
@ -62,10 +66,6 @@ jobs:
|
|||||||
status: pending
|
status: pending
|
||||||
description: ${{ steps.build.outputs.DESCR }}
|
description: ${{ steps.build.outputs.DESCR }}
|
||||||
context: Build for amd64
|
context: Build for amd64
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
||||||
with:
|
|
||||||
packages: "libpam0g-dev"
|
|
||||||
version: 1.0
|
|
||||||
- id: build
|
- id: build
|
||||||
run: |
|
run: |
|
||||||
make -j$(nproc) 2> /tmp/stderr || (ERR=$?; cat /tmp/stderr >&2; exit $ERR)
|
make -j$(nproc) 2> /tmp/stderr || (ERR=$?; cat /tmp/stderr >&2; exit $ERR)
|
||||||
@ -98,6 +98,10 @@ jobs:
|
|||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git libpam0g-dev gcc-multilib"
|
||||||
|
version: 1.0
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
@ -106,10 +110,6 @@ jobs:
|
|||||||
status: pending
|
status: pending
|
||||||
description: ${{ steps.build.outputs.DESCR }}
|
description: ${{ steps.build.outputs.DESCR }}
|
||||||
context: Build for i386
|
context: Build for i386
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
||||||
with:
|
|
||||||
packages: "libpam0g-dev gcc-multilib"
|
|
||||||
version: 1.0
|
|
||||||
- run: |
|
- run: |
|
||||||
sudo dpkg --add-architecture i386
|
sudo dpkg --add-architecture i386
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
@ -146,6 +146,10 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git libpam0g-dev"
|
||||||
|
version: 1.0
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
@ -196,6 +200,10 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git libpam0g-dev"
|
||||||
|
version: 1.0
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
@ -246,6 +254,10 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git libpam0g-dev"
|
||||||
|
version: 1.0
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
|
Loading…
x
Reference in New Issue
Block a user