ci: use compatible PHP runner image
This commit is contained in:
+1
-11
@@ -14,6 +14,7 @@ jobs:
|
||||
test:
|
||||
name: 🧪 Tests Laravel
|
||||
runs-on: ubuntu-latest
|
||||
container: shivammathur/node:php-8.4-24.04-amd64
|
||||
env:
|
||||
DB_CONNECTION: sqlite
|
||||
DB_DATABASE: database/database.sqlite
|
||||
@@ -22,17 +23,6 @@ jobs:
|
||||
- name: 📥 Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install PHP runtime dependencies
|
||||
run: |
|
||||
apt_prefix=""
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
apt_prefix="sudo"
|
||||
fi
|
||||
|
||||
$apt_prefix apt-get update
|
||||
$apt_prefix apt-get install -y --no-install-recommends libsodium23
|
||||
|
||||
- name: 🐘 Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user