From 9729802149614a1e928b6dc890567c131d4ad40c Mon Sep 17 00:00:00 2001 From: makeworld Date: Mon, 7 Dec 2020 15:25:14 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Ignore=20docs=20files=20in=20CI,?= =?UTF-8?q?=20let=20all=20jobs=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/golangci-lint.yml | 16 +++++++++++++++- .github/workflows/test.yml | 16 +++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index a080e79..f24c53c 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,5 +1,19 @@ name: golangci-lint -on: [push, pull_request] + +on: + push: + paths-ignore: + - '**.md' + - '**.toml' + - '**.desktop' + - 'LICENSE' + pull_request: + paths-ignore: + - '*.md' + - '*.toml' + - '*.desktop' + - 'LICENSE' + jobs: golangci: name: lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b02251..49fc293 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,23 @@ -on: [push, pull_request] name: Test +on: + push: + paths-ignore: + - '**.md' + - '**.toml' + - '**.desktop' + - 'LICENSE' + pull_request: + paths-ignore: + - '*.md' + - '*.toml' + - '*.desktop' + - 'LICENSE' + jobs: test: strategy: + fail-fast: false matrix: go-version: ['1.13', '1.14', '1.15'] os: [ubuntu-latest, macos-latest, windows-latest]