Compare commits
No commits in common. "03971ef9a9fe041d8e103f1b04868ec79a4dbc05" and "7d7d87b57ba4e05f1997779860e1172e5c09e31e" have entirely different histories.
03971ef9a9
...
7d7d87b57b
3 changed files with 11 additions and 50 deletions
|
@ -1,39 +0,0 @@
|
|||
---
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
env:
|
||||
GO_TEST_VERBOSE: "1"
|
||||
GO_TEST_COVER: "1"
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Setup Go
|
||||
uses: https://code.forgejo.org/actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.21'
|
||||
- name: Test
|
||||
run: |
|
||||
cd internal/build
|
||||
go run magefiles/main.go -v test
|
||||
|
||||
lint:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Setup Go
|
||||
uses: https://code.forgejo.org/actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.21'
|
||||
- name: Lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.54
|
|
@ -14,17 +14,7 @@ output:
|
|||
|
||||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- scopelint
|
||||
- maligned
|
||||
- exhaustivestruct
|
||||
- deadcode
|
||||
- interfacer
|
||||
- nosnakecase
|
||||
- ifshort
|
||||
- varcheck
|
||||
- golint
|
||||
- structcheck
|
||||
# disable:
|
||||
fast: false
|
||||
|
||||
linters-settings:
|
||||
|
|
10
.woodpecker/woodpecker.yml
Normal file
10
.woodpecker/woodpecker.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
pipeline:
|
||||
dagger:
|
||||
image: golang:1.20.4-alpine
|
||||
commands:
|
||||
- apk add docker-cli
|
||||
- cd internal/build
|
||||
- go run .
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
Loading…
Reference in a new issue