From 100453e05a620522b56337020e9ba49a6655c4e2 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Wed, 5 Jan 2022 15:11:52 +0400 Subject: [PATCH] Updated "on" policy. Signed-off-by: Pavel Kirilin <win10@list.ru> --- .github/workflows/lint.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index aaa5c01..d5d0e0b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,6 @@ -on: push +on: + - push + - pull_request name: Lint check jobs: @@ -32,4 +34,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - run: cargo fmt -- --check \ No newline at end of file + - run: cargo fmt -- --check -- GitLab