chore(deps-dev): bump vite from 6.2.0 to 6.2.7 in /site #235
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
test-go: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.8 | |
- name: Get golangci-lint cache dir | |
run: | | |
linter_ver=1.55.2 | |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v$linter_ver | |
dir=$(golangci-lint cache status | awk '/Dir/ { print $2 }') | |
echo "LINT_CACHE_DIR=$dir" >> $GITHUB_ENV | |
- name: golangci-lint cache | |
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 | |
with: | |
path: | | |
${{ env.LINT_CACHE_DIR }} | |
key: golangci-lint-${{ runner.os }}-${{ hashFiles('**/*.go') }} | |
restore-keys: | | |
golangci-lint-${{ runner.os }}- |