mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-11-10 04:37:22 +01:00
20 lines
384 B
YAML
20 lines
384 B
YAML
name: checks
|
|
on: [push]
|
|
|
|
env:
|
|
ACT_OWNER: ${{ github.repository_owner }}
|
|
ACT_REPOSITORY: ${{ github.repository }}
|
|
GO_VERSION: 1.18
|
|
CGO_ENABLED: 0
|
|
|
|
jobs:
|
|
lint:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: golangci/golangci-lint-action@v3.1.0
|
|
with:
|
|
version: latest |