php-8.3-tideways/5.16.0 package update #482
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: Pull Request Check | |
on: | |
pull_request: | |
paths: | |
- "*.yaml" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Lint using Wolfictl | |
uses: wolfi-dev/actions/wolfictl-lint@main | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/wolfi-dev/sdk:latest | |
options: | | |
--cap-add NET_ADMIN --cap-add SYS_ADMIN --device /dev/fuse --security-opt seccomp=unconfined --security-opt apparmor:unconfined | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Generate key | |
run: melange keygen | |
- name: Look for changed files | |
id: changes | |
uses: tj-actions/changed-files@v45 | |
with: | |
files_yaml: | | |
melange: | |
- ./*.yaml | |
- name: Build all packages | |
run: | | |
make init | |
for file in ${{ steps.changes.outputs.melange_all_changed_files }}; do | |
if [[ $file == ".yam.yaml" ]]; then | |
continue | |
fi | |
make package/"${file%.yaml}" | |
make test/"${file%.yaml}" | |
done |