Skip to content

Bump actions/checkout from 2 to 4 #19

Bump actions/checkout from 2 to 4

Bump actions/checkout from 2 to 4 #19

Workflow file for this run

name: Tests
on:
push:
pull_request:
branches:
- main
- master
jobs:
tests:
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:7.4.0
steps:
- uses: actions/checkout@v4
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Setup
run: |
composer config -g "github-oauth.github.com" ${COMPOSER_TOKEN}
composer config --global --auth "http-basic.repo.packagist.com" "alnutile" ${PACKAGIST_TOKEN}
composer install --prefer-dist --no-interaction
- name: Run Testsuite
run: composer test