parser/.github/workflows/third-party-tests.yml
azjezz 73fbc09114
ci: cache after installing deps
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-07 09:32:36 +01:00

41 lines
762 B
YAML

name: third-party
on:
push:
branches: [main]
pull_request:
jobs:
third-party-tests:
name: third-party
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
target:
- 'psl'
- 'php-parser'
- 'symfony'
- 'laravel'
steps:
- name: checkout
uses: actions/checkout@v3
- name: install rust
uses: actions-rs/toolchain@v1
with:
toolchain: 'stable'
override: true
components: rustfmt, clippy
- name: install just
run: |
cargo install just
- name: cache
uses: Swatinem/rust-cache@v2.0.0
- name: test ${{ matrix.target }}
run: just test-${{ matrix.target }}