Verification #1714
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: Verification | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- test | |
tags: | |
- '*' | |
schedule: | |
- cron: '45 15 * * *' | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- remote-release: default | |
- remote-release: master | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup | |
id: setup | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: '1.17.3' | |
otp-version: '27.1' | |
- name: mix-cache | |
uses: actions/cache@v4 | |
id: mix-cache | |
with: | |
path: deps | |
# yamllint disable-line rule:line-length | |
key: ${{ runner.os }}-${{ steps.setup.outputs.otp-version }}-${{ steps.setup.outputs.elixir-version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
- name: mix-deps | |
if: steps.mix-cache.outputs.cache-hit != 'true' | |
run: | | |
mix local.rebar --force | |
mix local.hex --force | |
mix deps.get | |
- name: verify | |
# yamllint disable-line rule:line-length | |
run: mix ua_inspector.verify ${{ 'default' == matrix.remote-release || format('--remote-release "{0}"', matrix.remote-release) }} | |
working-directory: ./verify | |
custom_php: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
- uses: actions/checkout@v4 | |
with: | |
repository: matomo-org/device-detector | |
path: verify/ext/device-detector | |
- run: composer install | |
working-directory: verify/ext/device-detector | |
- run: php custom.php | |
working-directory: verify/ext |