From cba843e6765c68169b448be8a46c7923c01b98ff Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Mon, 2 Dec 2024 14:07:48 -0500 Subject: [PATCH 01/21] init commit to run PR --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c2a39b80..ba1ecdcf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,7 @@ name: Test find flags on: pull_request + jobs: find-feature-flags: runs-on: ubuntu-latest From a3a09d3dbf6666d4feaf9b68f6aaa8e3f94bfb16 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Mon, 2 Dec 2024 14:26:52 -0500 Subject: [PATCH 02/21] run go tests with code coverage --- .github/workflows/main.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba1ecdcf..c8ddf905 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,12 +6,22 @@ on: pull_request jobs: - find-feature-flags: + Run_Tests: runs-on: ubuntu-latest - name: Test Find Flags steps: + # Checkout the code - name: Checkout uses: actions/checkout@v4 + # Run Go Tests + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: 1.21 + - name: Install dependencies + run: go mod tidy + - name: Run tests + run: go test ./... -coverprofile=coverage.out + # Test the Github Action E2E - name: Find LaunchDarkly feature flags in diff uses: ./ # Uses an action in the root directory id: find-flags @@ -51,3 +61,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.pull_request.number }} + From 4b541945f2a7f3805a0012f78217f128aa93c8d3 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Mon, 2 Dec 2024 14:28:25 -0500 Subject: [PATCH 03/21] Update name --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c8ddf905..9e001971 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,7 @@ # Run test file with command: # act pull_request -e testdata/act/pull-request.json -name: Test find flags +name: Test and Generate Docs on: pull_request From 5dc29c75e51d9cc3ce0a226c4e06f5e49418ec1e Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Mon, 2 Dec 2024 14:32:02 -0500 Subject: [PATCH 04/21] update to run in parallel --- .github/workflows/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e001971..ceec617e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,13 +6,11 @@ on: pull_request jobs: - Run_Tests: + Run_Go_Tests: runs-on: ubuntu-latest steps: - # Checkout the code - name: Checkout uses: actions/checkout@v4 - # Run Go Tests - name: Set up Go uses: actions/setup-go@v4 with: @@ -21,7 +19,12 @@ jobs: run: go mod tidy - name: Run tests run: go test ./... -coverprofile=coverage.out - # Test the Github Action E2E + + Run_E2E_Tests: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 - name: Find LaunchDarkly feature flags in diff uses: ./ # Uses an action in the root directory id: find-flags From 0178269deadbc212ba6bc8a49c42a109eb6b2828 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Mon, 2 Dec 2024 14:38:15 -0500 Subject: [PATCH 05/21] update to run go tests and generate docs --- .github/workflows/main.yml | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ceec617e..110b5cae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,12 +11,28 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install pre-commit + run: | + python -m pip install --upgrade pip + pip install pre-commit + + - name: Run pre-commit hooks + run: pre-commit run --all-files + - name: Set up Go uses: actions/setup-go@v4 with: go-version: 1.21 + - name: Install dependencies run: go mod tidy + - name: Run tests run: go test ./... -coverprofile=coverage.out @@ -64,4 +80,31 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.pull_request.number }} + + Generate_Docs: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install pre-commit + run: | + python -m pip install --upgrade pip + pip install pre-commit + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '18.8.0' + + - name: Install action-docs + run: npm install action-docs + + - name: Run pre-commit for GitHub Actions Docs + run: pre-commit run -a github-action-docs From ca6429b61c81265ff2648d3a780fe7298190ca5b Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Mon, 2 Dec 2024 14:44:32 -0500 Subject: [PATCH 06/21] bump go version --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 110b5cae..4f68f7b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.21 + go-version: 1.22 - name: Install dependencies run: go mod tidy From 76cfc54e40b2e2b20650ae0d75835dd3ffc93e4b Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 09:50:03 -0500 Subject: [PATCH 07/21] fix pre commit check --- .pre-commit-config.yaml | 2 +- diff/diff.go | 5 ++++- internal/github_actions/actions.go | 2 +- main.go | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 123b5feb..bb835676 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/golangci/golangci-lint - rev: v1.52.2 + rev: v1.62.2 hooks: - id: golangci-lint name: golangci-lint diff --git a/diff/diff.go b/diff/diff.go index 902d2a14..75d9a484 100644 --- a/diff/diff.go +++ b/diff/diff.go @@ -81,7 +81,10 @@ func ProcessDiffs(matcher lsearch.Matcher, contents []byte, builder *refs.Refere for _, flagKey := range elementMatcher.FindMatches(line) { aliasMatches := elementMatcher.FindAliases(line, flagKey) gha.Debug("Found (%s) reference to flag %s with aliases %v", op, flagKey, aliasMatches) - builder.AddReference(flagKey, op, aliasMatches) + err := builder.AddReference(flagKey, op, aliasMatches) + if err != nil { + fmt.Println(err) + } } if builder.MaxReferences() { break diff --git a/internal/github_actions/actions.go b/internal/github_actions/actions.go index 5f89e543..876f40e8 100644 --- a/internal/github_actions/actions.go +++ b/internal/github_actions/actions.go @@ -30,7 +30,7 @@ func MaskInput(input string) { } func Log(format string, a ...any) { - log.Println(fmt.Sprintf(format, a...)) + fmt.Printf(format, a...) } func LogError(err error) { diff --git a/main.go b/main.go index 8b8bc477..3001092d 100644 --- a/main.go +++ b/main.go @@ -228,7 +228,7 @@ func setOutputsForChangedFlags(modifier string, changedFlags []string) { func failExit(err error) { if err != nil { gha.LogError(err) - gha.SetError(err.Error()) + gha.SetError("%s", err.Error()) os.Exit(1) } } From e19da72baaf4a9450fbd2d1c9e47b563e499108b Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 09:50:30 -0500 Subject: [PATCH 08/21] remove circle ci --- .circleci/config.yml | 91 -------------------------------------------- 1 file changed, 91 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 5384149d..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,91 +0,0 @@ -version: 2 - -experimental: - notify: - branches: - only: - - master - -defaults: - environment: &environment - CIRCLE_TEST_REPORTS: /tmp/circle-reports - CIRCLE_ARTIFACTS: /tmp/circle-artifacts - - build_steps: &build_steps - steps: - - checkout - - run: - name: install pre dependencies - command: | - sudo apt-get install -yqq git - - run: go install github.com/jstemmer/go-junit-report/v2 - - run: go install github.com/kyoh86/richgo@v0.3.12 - - run: sudo apt-get update - - run: sudo apt-get install python3-pip - - run: sudo pip install pre-commit - - run: pre-commit install - # skip unit tests because they run later - - run: SKIP=go-unit-tests pre-commit run - - run: - name: Set up Code Climate test-reporter - command: | - curl -sS -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - - run: - name: Run tests - command: | - mkdir -p $CIRCLE_TEST_REPORTS - mkdir -p $CIRCLE_ARTIFACTS - trap "go-junit-report < $CIRCLE_ARTIFACTS/report.txt > $CIRCLE_TEST_REPORTS/junit.xml" EXIT - if [ -z "$DISABLE_COVERAGE" ]; then - go_cover_args="-covermode=atomic -coverpkg=./... -coverprofile /tmp/circle-artifacts/coverage.txt" - fi - go test -race $go_cover_args -v $(go list ./... | grep -v /vendor/) | tee >(richgo testfilter) > $CIRCLE_ARTIFACTS/report.txt - if [[ -z "$DISABLE_COVERAGE" && -n "$CC_TEST_REPORTER_ID" ]]; then - ./cc-test-reporter format-coverage $CIRCLE_ARTIFACTS/coverage.txt -t gocov --output $CIRCLE_ARTIFACTS/coverage.json - ./cc-test-reporter upload-coverage --input $CIRCLE_ARTIFACTS/coverage.json - fi - - run: - name: Generate coverage report - command: | - if [ -z "$DISABLE_COVERAGE" ]; then - go tool cover -html=$CIRCLE_ARTIFACTS/coverage.txt -o $CIRCLE_ARTIFACTS/coverage.html - fi - when: always - - store_test_results: - path: /tmp/circle-reports - - store_artifacts: - path: /tmp/circle-artifacts - -jobs: - go-test: - docker: - - image: cimg/go:1.22 - environment: - <<: *environment - - <<: *build_steps - - github-actions-docs: - docker: - - image: cimg/node:18.8.0 - steps: - - checkout - - run: sudo apt-get update - - run: sudo apt-get install python3-pip - - run: sudo pip install pre-commit - - run: pre-commit install - - run: npm install action-docs - - run: pre-commit run -a github-action-docs - -workflows: - version: 2 - test: - jobs: - - go-test: - filters: - tags: - only: /.*/ - docs: - jobs: - - github-actions-docs From d50fcea39338965f89480376f9b590106aca9ba8 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 09:59:15 -0500 Subject: [PATCH 09/21] re run the workflow --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f68f7b4..a27fc247 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,8 +2,8 @@ # act pull_request -e testdata/act/pull-request.json name: Test and Generate Docs -on: pull_request +on: pull_request jobs: Run_Go_Tests: From badef94b56fcb0767917667dd68df6c08f6c65bd Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 10:19:13 -0500 Subject: [PATCH 10/21] use sha instead of version --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a27fc247..ad6a525a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,14 +6,14 @@ name: Test and Generate Docs on: pull_request jobs: - Run_Go_Tests: + go-tests: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: '3.x' @@ -26,9 +26,9 @@ jobs: run: pre-commit run --all-files - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed with: - go-version: 1.22 + go-version-file: go.mod - name: Install dependencies run: go mod tidy @@ -36,11 +36,11 @@ jobs: - name: Run tests run: go test ./... -coverprofile=coverage.out - Run_E2E_Tests: + e2e-tests: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: Find LaunchDarkly feature flags in diff uses: ./ # Uses an action in the root directory id: find-flags @@ -81,17 +81,17 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.pull_request.number }} - Generate_Docs: + generate-docs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: '3.x' - + - name: Install pre-commit run: | python -m pip install --upgrade pip From 9723b1e65ce95f76d63971b26f7dd8ca28e22bf6 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 10:50:51 -0500 Subject: [PATCH 11/21] run tests with gotestsum --- .github/workflows/main.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad6a525a..b4a12bfe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,8 +33,23 @@ jobs: - name: Install dependencies run: go mod tidy - - name: Run tests - run: go test ./... -coverprofile=coverage.out + - name: Install gotestsum + run: go install gotest.tools/gotestsum@latest + + - name: Run tests with gotestsum + run: | + mkdir -p ${{ github.workspace }}/artifacts + mkdir -p ${{ github.workspace }}/reports + + GONFALON_MODE=test \ + gotestsum --packages="./..." \ + --junitfile ${{ github.workspace }}/reports/go-test_go_tests.xml \ + --jsonfile ${{ github.workspace }}/artifacts/go-test_go_tests.json \ + --rerun-fails=2 \ + --rerun-fails-max-failures=10 \ + --rerun-fails-report ${{ github.workspace }}/artifacts/rerun_tests_go_tests.txt \ + -- -tags=launchdarkly_easyjson -p=1 + e2e-tests: runs-on: ubuntu-latest From c7a922043a0a09298edebc13235bef8de3da8344 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 10:58:37 -0500 Subject: [PATCH 12/21] publish j unit --- .github/actions/publish-junit/action.yml | 35 ++++++++++++++++++++++++ .github/workflows/main.yml | 8 ++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/actions/publish-junit/action.yml diff --git a/.github/actions/publish-junit/action.yml b/.github/actions/publish-junit/action.yml new file mode 100644 index 00000000..c42ebfa7 --- /dev/null +++ b/.github/actions/publish-junit/action.yml @@ -0,0 +1,35 @@ +name: Publish JUnit Tests +description: Publishes JUnit tests to one or more sources +inputs: + files: + required: true + description: The JUnit files to upload + name: + required: true + description: The name of the suite + datadog: + required: false + description: Upload to Datadog + default: 'true' + github: + required: false + description: Upload to GitHub + default: 'true' + +runs: + using: composite + steps: + - name: Report Tests to Datadog + shell: bash + if: ${{ inputs.datadog }} == 'true' + run: datadog-ci junit upload --service ${{ inputs.name }} ${{ inputs.files }} + + - name: Test Publish + uses: phoenix-actions/test-reporting@f957cd93fc2d848d556fa0d03c57bc79127b6b5e # v15 + if: ${{ inputs.github }} == 'true' + with: + name: ${{ inputs.name }} + output-to: step-summary + path: ${{ inputs.files }} + reporter: java-junit + fail-on-error: 'false' \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4a12bfe..9da34ff6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,6 +49,14 @@ jobs: --rerun-fails-max-failures=10 \ --rerun-fails-report ${{ github.workspace }}/artifacts/rerun_tests_go_tests.txt \ -- -tags=launchdarkly_easyjson -p=1 + + - name: Publish JUnit Tests + uses: ./.github/actions/publish-junit-tests + with: + files: ${{ github.workspace }}/reports/go-test_go_tests.xml + name: Go Tests + datadog: 'true' + github: 'true' e2e-tests: From f5953d87f185475f1d78d9d08b73e1b79769833d Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 11:02:51 -0500 Subject: [PATCH 13/21] fix typo --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9da34ff6..19edfecf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,7 +51,7 @@ jobs: -- -tags=launchdarkly_easyjson -p=1 - name: Publish JUnit Tests - uses: ./.github/actions/publish-junit-tests + uses: ./.github/actions/publish-junit with: files: ${{ github.workspace }}/reports/go-test_go_tests.xml name: Go Tests From 8c23d58994f09c3e5ccb78893db2ba187ee825f8 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 11:06:56 -0500 Subject: [PATCH 14/21] install node and datadog-ci --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19edfecf..9a6605e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,14 @@ jobs: - name: Checkout uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '18.x' + + - name: Install datadog-ci + run: npm install -g @datadog/datadog-ci + - name: Set up Python uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: From 8af95143af4d519f7072cccf58d4c49527ee14e7 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 11:14:12 -0500 Subject: [PATCH 15/21] add new line --- .github/actions/publish-junit/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/publish-junit/action.yml b/.github/actions/publish-junit/action.yml index c42ebfa7..7758e18e 100644 --- a/.github/actions/publish-junit/action.yml +++ b/.github/actions/publish-junit/action.yml @@ -32,4 +32,4 @@ runs: output-to: step-summary path: ${{ inputs.files }} reporter: java-junit - fail-on-error: 'false' \ No newline at end of file + fail-on-error: 'false' From db3016aae608f23ab337fbbf97cb92cd2b78f790 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Tue, 3 Dec 2024 11:17:51 -0500 Subject: [PATCH 16/21] add api key --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9a6605e1..f48a67a1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,6 +60,8 @@ jobs: - name: Publish JUnit Tests uses: ./.github/actions/publish-junit + env: + DD_API_KEY: ${{ secrets.DATADOG_API_KEY }} with: files: ${{ github.workspace }}/reports/go-test_go_tests.xml name: Go Tests From fedeb57b4496b3ef5fdbb6e422bb7cf5896a73d1 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Fri, 6 Dec 2024 10:16:52 -0500 Subject: [PATCH 17/21] use sha and update name --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f48a67a1..6825ec38 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -64,7 +64,7 @@ jobs: DD_API_KEY: ${{ secrets.DATADOG_API_KEY }} with: files: ${{ github.workspace }}/reports/go-test_go_tests.xml - name: Go Tests + name: find-code-references-in-pull-request datadog: 'true' github: 'true' @@ -131,7 +131,7 @@ jobs: pip install pre-commit - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: '18.8.0' From 7b4de8775ca838bfae4b81fd0d83d228c30fbbf8 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Fri, 6 Dec 2024 10:18:21 -0500 Subject: [PATCH 18/21] add sha --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6825ec38..aaca850e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: '18.x' From 1ef05bbca1c1f70ce99a90c43dea4d97a7b40532 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Fri, 6 Dec 2024 12:08:22 -0500 Subject: [PATCH 19/21] re trigger CI --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aaca850e..c1b34cfc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ # Run test file with command: -# act pull_request -e testdata/act/pull-request.json +# act pull_request -e testdata/act/pull-request.json name: Test and Generate Docs From e4cc6f9b627189f251012e53970222458c7e1faa Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Fri, 6 Dec 2024 12:27:31 -0500 Subject: [PATCH 20/21] re trigger the CI --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1b34cfc..aaca850e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ # Run test file with command: -# act pull_request -e testdata/act/pull-request.json +# act pull_request -e testdata/act/pull-request.json name: Test and Generate Docs From 9b972ba1c89bc4e857a2b3cfbb2f6790ad7c56d8 Mon Sep 17 00:00:00 2001 From: Kevin Kruger Date: Fri, 6 Dec 2024 13:12:39 -0500 Subject: [PATCH 21/21] match name for required step --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aaca850e..2ed5d48f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ name: Test and Generate Docs on: pull_request jobs: - go-tests: + go-test: runs-on: ubuntu-latest steps: - name: Checkout