diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/go.yml | 37 | ||||
-rw-r--r-- | .woodpecker/.alpine.yaml | 22 |
2 files changed, 0 insertions, 59 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index 5cf429a..0000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,37 +0,0 @@ -# This workflow will build a golang project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go - -name: Go - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.23' - - - name: Build - run: go build -v ./... - - - name: Test - run: go test -v ./... - - - name: Strip - run: strip cca - - - name: Upload - uses: actions/upload-artifact@v4 - with: - name: cca - path: cca diff --git a/.woodpecker/.alpine.yaml b/.woodpecker/.alpine.yaml deleted file mode 100644 index fcee15d..0000000 --- a/.woodpecker/.alpine.yaml +++ /dev/null @@ -1,22 +0,0 @@ -skip_clone: false - -steps: - - name: build - when: - branch: [master] - event: [push, tag, manual] - image: alpine:edge - commands: - - apk add --no-cache go make golangci-lint - - make - - sh ./scripts/lint.sh - - name: release - when: - branch: [master] - event: [tag] - image: woodpeckerci/plugin-release - settings: - files: - - 'cca' - api_key: - from_secret: FORGEJO_API_KEY |