Skip to content

fix(SPV-000): change lint version to fixed 1.60.1 (#672) #106

fix(SPV-000): change lint version to fixed 1.60.1 (#672)

fix(SPV-000): change lint version to fixed 1.60.1 (#672) #106

Workflow file for this run

name: Release
permissions:
contents: write
packages: write
env:
GO111MODULE: on
on:
push:
tags:
- 'v*'
jobs:
release_default:
uses: bactions/workflows/.github/workflows/release-go-server.yml@main
with:
version: ${{ github.ref_name }}
os: linux
cgo_enabled: true
release_binaries: false
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
release_libs:
runs-on: ubuntu-latest
needs: [release_default]
strategy:
matrix:
lib:
- models
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: 'Configure Git'
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Tag ${{ matrix.lib }}
run: |
git tag ${{ matrix.lib }}/${{ github.ref_name }} -am "${{ matrix.lib }}/${{ github.ref_name }}"
git push origin ${{ matrix.lib }}/${{ github.ref_name }}
- name: Syndicate to GoDocs
run: |
echo "syndicating to GoDocs..."
curl "https://proxy.golang.org/github.com/${{ github.repository }}/${{ matrix.lib }}/@v/${{ github.ref_name }}.info"