Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

build(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#593) #1263

build(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#593)

build(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#593) #1263

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: tests
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: "1.22.0"
- name: run-tests
run: go test -race -vet all ./...
staticcheck:
name: staticcheck
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
id: setup-go
with:
go-version: "1.22.0"
- run: |
go install honnef.co/go/tools/cmd/staticcheck@master
- name: get staticcheck version
id: get-staticcheck-version
run: |
echo "version=$(staticcheck --version | sed -e 's/,//g')" >>${GITHUB_OUTPUT}
- name: staticcheck cache
id: staticcheck-cache
uses: actions/[email protected]
with:
path: ~/.cache/staticcheck
key: "${{ steps.get-staticcheck-version.outputs.version }}-${{ steps.setup-go.outputs.go-version }}"
- name: run staticcheck
run: |
staticcheck ./...