Skip to content

feat: add semantic release #7

feat: add semantic release

feat: add semantic release #7

Workflow file for this run

name: tests
on:
pull_request:
types: ['opened', 'synchronize']
paths-ignore:
- 'README.md'
push:
branches:
- master
paths-ignore:
- 'README.md'
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Run tests
run: make test
#- name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v4
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
#- name: Upload coverage reports to Codeclimate
# if: github.event_name != 'pull_request'
# uses: paambaati/[email protected]
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TEST_REPORTER_ID }}
# with:
# prefix: "github.com/mavogel/go-ssh-forward"
# coverageLocations: coverage.txt:gocov