Skip to content

.github: Bump actions/checkout from 4.0.0 to 4.1.0 #225

.github: Bump actions/checkout from 4.0.0 to 4.1.0

.github: Bump actions/checkout from 4.0.0 to 4.1.0 #225

Workflow file for this run

name: Static Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: '1.19'
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Run staticcheck
run: |
staticcheck -version
staticcheck -- ./...
- name: Run go vet
run: go vet ./...