feat: add ci config for forgejo
tmp
This commit is contained in:
parent
d61b3d6865
commit
5ebd13ed76
2 changed files with 20 additions and 71 deletions
20
.forgejo/workflows/test.yml
Normal file
20
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
linting:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: stable
|
||||
- uses: https://github.com/golangci/golangci-lint-action@v6
|
||||
tests:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: stable
|
||||
- name: Run tests
|
||||
run: go test
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue