From efd894b8aa32bc6673b960b6539f5e69f3a49d78 Mon Sep 17 00:00:00 2001 From: Ryan Gang Date: Fri, 27 Dec 2024 14:17:50 +0530 Subject: [PATCH] chore: update GitHub Actions workflow - Updated checkout action to v4 and added a token for fixture generation. --- .github/workflows/fixtures.yml | 4 +++- internal/utils.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fixtures.yml b/.github/workflows/fixtures.yml index 407dff8c..efcc5144 100644 --- a/.github/workflows/fixtures.yml +++ b/.github/workflows/fixtures.yml @@ -16,7 +16,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 + with: + token: ${{ secrets.RYAN_FIXTURE_GEN_PAT }} - name: Set up Go uses: actions/setup-go@v1 diff --git a/internal/utils.go b/internal/utils.go index c293f52d..78c6ca36 100644 --- a/internal/utils.go +++ b/internal/utils.go @@ -12,7 +12,7 @@ import ( "github.com/codecrafters-io/tester-utils/random" ) -var SMALL_WORDS = []string{"foo", "bar", "baz", "qux", "quz"} +var SMALL_WORDS = []string{"foo", "bar", "baz", "qux", "quz", "ipsum", "lorem", "dolor", "sit", "amet"} var LARGE_WORDS = []string{"hello", "world", "test", "example", "shell", "script"} // getRandomDirectory creates a random directory in /tmp, creates the directories and returns the full path