Add a test to ensure referrerpolicy is set #16
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: lint-test | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
lint-test: | |
name: lint+test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: ["8.1", "8.2", "8.3"] | |
drupal-version: ["10.2", "10.3", "10.4", "11.0"] | |
exclude: | |
- drupal-version: "11.0" | |
php-version: "8.1" | |
- drupal-version: "11.0" | |
php-version: "8.2" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: lint+test | |
working-directory: tests | |
run: | | |
export MODULE_DIRECTORY=$(pwd | xargs dirname) | |
docker compose up --quiet-pull --abort-on-container-exit | |
env: | |
DRUPAL_VERSION: ${{ matrix.drupal-version }} | |
PHP_VERSION: ${{ matrix.php-version }} | |
ENABLE_MODULES: turnstile_protect |