Skip to content

chore(deps): bump github.com/coder/guts from 1.0.2-0.20250227211802-139809366a22 to 1.2.0 #229

chore(deps): bump github.com/coder/guts from 1.0.2-0.20250227211802-139809366a22 to 1.2.0

chore(deps): bump github.com/coder/guts from 1.0.2-0.20250227211802-139809366a22 to 1.2.0 #229

Workflow file for this run

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 }}-