Compare commits
1 commit
8faa5e864c
...
205902205f
| Author | SHA1 | Date | |
|---|---|---|---|
|
205902205f |
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/test.yml
Normal file
20
.forgejo/workflows/test.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: raw
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup golang
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.21"
|
||||
|
||||
- name: golangci-lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v8
|
||||
with:
|
||||
version: v2.1
|
||||
Loading…
Add table
Add a link
Reference in a new issue