Skip to content

feat: add newtest.md (#4) #9

feat: add newtest.md (#4)

feat: add newtest.md (#4) #9

name: "semantic-release"
on:
push:
branches:
- 'main'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.22
- uses: golangci/golangci-lint-action@v3
release:
name: Release
runs-on: ubuntu-latest
needs: lint
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.22
- uses: go-semantic-release/action@v1
with:
hooks: goreleaser
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}