From f81d5748305f90c99028d29ee25f5c24acb1f5c2 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Mon, 7 Mar 2022 14:53:58 -0800 Subject: [PATCH] CI: Ignore more files, use checkout v3 --- .github/workflows/CI.yml | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 98adbed0d..fbfe3a92c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,23 +2,49 @@ name: CI on: push: - branches-ignore: [ gh-pages, master ] + branches-ignore: [gh-pages, master] paths-ignore: + - '.clang-format' + - '.drone.star' + - '.gitattributes' + - '.gitignore' + - '.gdbinit' - '.github/*' - '.github/*_TEMPLATE/**' - '*.md' - '*.yml' - 'docs/**' + - 'src/**/*_posix.*' + - 'src/**/*_linux.*' + - 'src/**/*_gnulinux.*' + - 'src/**/*_x11.*' + - 'src/**/*_gtk.*' + - 'src/**/*_android.*' + - 'src/**/*_mac.*' - 'LICENSE' + - 'README.md' pull_request: - branches-ignore: [ gh-pages, master ] + branches-ignore: [gh-pages, master] paths-ignore: + - '.clang-format' + - '.drone.star' + - '.gitattributes' + - '.gitignore' + - '.gdbinit' - '.github/*' - '.github/*_TEMPLATE/**' - '*.md' - '*.yml' - 'docs/**' + - 'src/**/*_posix.*' + - 'src/**/*_linux.*' + - 'src/**/*_gnulinux.*' + - 'src/**/*_x11.*' + - 'src/**/*_gtk.*' + - 'src/**/*_android.*' + - 'src/**/*_mac.*' - 'LICENSE' + - 'README.md' workflow_dispatch: jobs: @@ -36,7 +62,7 @@ jobs: - runs-on: windows-latest vsver: VS2022 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup