Skip to content

chore(deps): bump github/codeql-action action from v2 to 3 #38

chore(deps): bump github/codeql-action action from v2 to 3

chore(deps): bump github/codeql-action action from v2 to 3 #38

Workflow file for this run

name: Build
on:
push:
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Checkout
uses: actions/checkout@v3
- name: install dep
run: go get -d ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
release:
needs: [test]
if: github.ref == 'refs/heads/main'
name: create release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release Action
uses: codfish/semantic-release-action@v2
with:
branches: main
dry_run: false
additional_packages: |
['@semantic-release/git']
plugins: |
['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/github', '@semantic-release/git']
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}