Skip to content

Bump actions/checkout from 4 to 5 #20

Bump actions/checkout from 4 to 5

Bump actions/checkout from 4 to 5 #20

Workflow file for this run

name: PHP CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.4']
steps:
- uses: actions/checkout@v5
- name: Set up PHP ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: PHP Security Checker
uses: StephaneBour/[email protected]
- name: Setup project
run: make setup
deploy:
needs: build
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v5
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v2
with:
context: .
push: true
cache-from: hexletcomponents/slim-example:latest
cache-to: type=inline
tags: hexletcomponents/slim-example:latest