mirror of
https://github.com/versity/versitygw.git
synced 2026-01-07 12:15:18 +00:00
26 lines
430 B
YAML
26 lines
430 B
YAML
name: staticcheck
|
|
permissions: {}
|
|
on: pull_request
|
|
jobs:
|
|
|
|
build:
|
|
name: Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 'stable'
|
|
id: go
|
|
|
|
- name: "staticcheck"
|
|
uses: dominikh/staticcheck-action@v1
|
|
with:
|
|
version: "latest"
|