Skip to content

✨ add support for time.Time (#20) #44

✨ add support for time.Time (#20)

✨ add support for time.Time (#20) #44

Workflow file for this run

name: staticcheck
env:
GO_VERSION: "1.20"
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
staticcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Run staticcheck
run: staticcheck ./...