From 5becd219d47185262ab02c4931fb1d532bf80aad Mon Sep 17 00:00:00 2001 From: jidicula Date: Sat, 6 Aug 2022 14:06:49 -0400 Subject: [PATCH 1/3] ci: Use latest minor Go version for ghcr-cleaner --- .github/workflows/clang-format-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-format-image.yml b/.github/workflows/clang-format-image.yml index a5cc31f..9b62231 100644 --- a/.github/workflows/clang-format-image.yml +++ b/.github/workflows/clang-format-image.yml @@ -75,7 +75,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '1.17' + go-version: '^1.17' check-latest: true - name: Install ghcr-cleaner run: go install github.com/jidicula/ghcr-cleaner@latest From ffaf3e82ca85e23088322a54cd5381e0d2d21af2 Mon Sep 17 00:00:00 2001 From: jidicula Date: Sat, 6 Aug 2022 14:07:22 -0400 Subject: [PATCH 2/3] ci: Fix name of test workflow --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c9604c3..9d45d73 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ defaults: jobs: test: - name: clang-format-${{ matrix.clang-format-version }} + name: ${{ inputs.runner-os }}-clang-format-${{ matrix.clang-format-version }} runs-on: ${{ inputs.runner-os }} strategy: fail-fast: false From ba81bbcbf7b4a5653d50dfce609104fc09ea4a85 Mon Sep 17 00:00:00 2001 From: jidicula Date: Sat, 13 Aug 2022 13:31:19 -0400 Subject: [PATCH 3/3] test: Do-nothing commit to test CI --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f0624e5..3017851 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,3 @@ # Testing your contribution: -The GitHub Actions [Test workflow](https://github.com/jidicula/clang-format-action/actions/workflows/test.yml) is triggered on PR submission. It runs [`test/test.sh`](https://github.com/jidicula/clang-format-action/blob/main/test/test.sh) on the [test files](https://github.com/jidicula/clang-format-action/tree/main/test). Run this script locally to test your changes. If you're adding checking functionality for new file extensions, add test files that are known to pass this Action's check and known to fail this Action's check, in `test/known_pass` and `test/known_fail` respectively. +The GitHub Actions [Test workflow](https://github.com/jidicula/clang-format-action/actions/workflows/test.yml) is triggered on PR submission. It runs [`test/test.sh`](https://github.com/jidicula/clang-format-action/blob/main/test/test.sh) on the [test files](https://github.com/jidicula/clang-format-action/tree/main/test). Run this script locally to test your changes. If you're adding checking functionality for new file extensions, add test files that are known to pass this Action's check and known to fail this Action's check, in `test/known_pass` and `test/known_fail` respectively .