Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: check out code before calling setup-go to enable dependency caching #776

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
- dedupelabels
runs-on: ubuntu-20.04
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: '~1.23.0'

- name: Checkout Repo
uses: actions/checkout@v4

- name: Run Tests
run: GOOPTS=-tags=${{ matrix.buildtags }} make common-test

Expand All @@ -34,13 +34,13 @@ jobs:
fuzz: FuzzFastRegexMatcher_WithFuzzyRegularExpressions
runs-on: ubuntu-20.04
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: '~1.23.0'

- name: Checkout Repo
uses: actions/checkout@v4

- name: Set -fuzztime=10m for 'main' branch
if: github.ref == 'refs/heads/main'
run: echo "fuzztime=10m" >> $GITHUB_ENV
Expand Down
Loading