Implement DeleteRemoteBranch using go-git #434
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: golang build | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.21 | |
| - name: Build | |
| working-directory: ./ | |
| run: go build -v ./... | |
| - name: Test | |
| working-directory: ./ | |
| run: go test -race -coverprofile=./coverage.txt -covermode=atomic ./... | |
| - name: Check goreleaser file | |
| uses: goreleaser/[email protected] | |
| with: | |
| version: latest | |
| args: check | |
| #- name: Upload coverage | |
| # uses: codecov/codecov-action@v2 | |
| # with: | |
| # files: ./coverage.txt | |