Skip to content

Commit

Permalink
Merge pull request #30 from nextras/pr/github_actions
Browse files Browse the repository at this point in the history
gh actions
  • Loading branch information
JanTvrdik authored Dec 20, 2020
2 parents 829f3a7 + 71a0415 commit f284c86
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 16 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: QA

on:
pull_request:
branches:
- master

push:
branches:
- master
- v*

jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0']

name: PHP ${{ matrix.php }}

steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json
coverage: none

- run: composer install --no-interaction --no-progress
- run: vendor/bin/tester -C tests/cases
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Nextras Secured Links
=====================

[![Build Status](https://travis-ci.org/nextras/secured-links.svg?branch=master)](https://travis-ci.org/nextras/secured-links)
[![Build Status](https://github.com/nextras/secured-links/workflows/QA/badge.svg?branch=master)](https://github.com/nextras/secured-links/actions?query=workflow%3AQA+branch%3Amaster)
[![Downloads this Month](https://img.shields.io/packagist/dm/nextras/secured-links.svg?style=flat)](https://packagist.org/packages/nextras/secured-links)
[![Stable Version](https://img.shields.io/packagist/v/nextras/secured-links.svg?style=flat)](https://packagist.org/packages/nextras/secured-links)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.1 || ^8.0",
"nette/application": "^3.0.3",
"nette/utils": "^3.0"
},
Expand Down

0 comments on commit f284c86

Please sign in to comment.