Skip to content

Add additional temp feature flag to hide HF access token field from c… #972

Add additional temp feature flag to hide HF access token field from c…

Add additional temp feature flag to hide HF access token field from c… #972

name: Go Mod Tidy Diff Check
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: # set contents: read at top-level, per OpenSSF ScoreCard rule TokenPermissionsID
contents: read
jobs:
tidy-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.25.3"
- name: Cache Go modules
uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run go mod tidy and check for changes
run: |
go mod tidy
git diff --exit-code go.mod go.sum