Lock in PHP version #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security | |
on: | |
schedule: | |
- cron: "15 21 * * 2,3" # UTC Wed,Thurs | |
workflow_dispatch: ~ | |
push: | |
branches: | |
- security # This is a branch that we can push to for testing. | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
# https://github.com/GoogleContainerTools/container-structure-test?tab=readme-ov-file#linux | |
- name: Install Container Structure Tests | |
run: | | |
curl -LO https://github.com/GoogleContainerTools/container-structure-test/releases/latest/download/container-structure-test-linux-amd64 | |
chmod +x container-structure-test-linux-amd64 | |
mv container-structure-test-linux-amd64 /usr/local/bin/container-structure-test | |
# https://github.com/anchore/grype?tab=readme-ov-file#recommended | |
- name: Install Grype | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin | |
- name: Make | |
run: | | |
make security PHP_VERSION=8.3 |