From 4e62f3929bddea2a9c11cc39d17ecceeb66feec3 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Wed, 30 Jan 2019 17:35:20 +0100 Subject: [PATCH] Test some GitHub Actions (PHPStan) --- .gitattributes | 1 + .github/main.workflow | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .github/main.workflow diff --git a/.gitattributes b/.gitattributes index a1f72e6..6176675 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ +/.github export-ignore /features export-ignore /tests export-ignore diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..f4ceb6d --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,10 @@ +workflow "Main Workflow" { + on = "push" + resolves = ["PHPStan"] +} + +action "PHPStan" { + uses = "docker://oskarstark/phpstan-ga" + secrets = ["GITHUB_TOKEN"] + args = "analyse --level=max src/" +}