Skip to content

Go templates in config values for edge and resource templates #1283

Go templates in config values for edge and resource templates

Go templates in config values for edge and resource templates #1283

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: ['*']
concurrency:
cancel-in-progress: true
group: staticcheck-${{ github.ref }}
name: staticcheck
jobs:
staticcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.20.6'
- uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Run
run: staticcheck ./...