Skip to content

chore(dependencies): CCR-1823 bump dependencies to resolve vulnerabil… #6

chore(dependencies): CCR-1823 bump dependencies to resolve vulnerabil…

chore(dependencies): CCR-1823 bump dependencies to resolve vulnerabil… #6

Workflow file for this run

name: Tag + Godoc Publish On Main Push
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/checkout@v3
- name: Bump version and push tag
id: tag-rel
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
- name: Publish doc to go.dev packages
run: |
git pull
export latest="$(git describe --tags `git rev-list --tags --max-count=1`)"
curl https://proxy.golang.org/github.com/virtru/oteltracer/@v/$latest.info
- uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag-rel.outputs.new_tag }}
allowUpdates: true
omitBodyDuringUpdate: true
generateReleaseNotes: true
token: ${{ secrets.GITHUB_TOKEN }}