name: Release

on:
  workflow_run:
    workflows: ["Build and test"]
    branches: [main]
    types:
      - completed

permissions:
  contents: write

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: '0'
    - name: Bump version and push tag
      uses: anothrNick/github-tag-action@1.47.0
      id: version
      env:
        GITHUB_TOKEN: ${{ github.token }}
        WITH_V: true
        DEFAULT_BUMP: patch
    - uses: arnested/go-version-action@v1
      id: go-version
    - name: Set up Go ${{ steps.go-version.outputs.latest }}.x
      uses: WillAbides/setup-go-faster@v1.7.0
      with:
        go-version: ${{ steps.go-version.outputs.latest }}.x
        ignore-local: true
    - run: go version
    - name: Run GoReleaser
      uses: goreleaser/goreleaser-action@v3
      with:
        version: latest
        args: release
      env:
        GITHUB_TOKEN: ${{ github.token }}

name: Release

on:
  workflow_run:
    workflows: ["Build and test"]
    branches: [main]
    types:
      - completed

permissions:
  contents: write

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: '0'
    - name: Bump version and push tag
      uses: anothrNick/github-tag-action@1.49.0
      id: version
      env:
        GITHUB_TOKEN: ${{ github.token }}
        WITH_V: true
        DEFAULT_BUMP: patch
    - uses: arnested/go-version-action@v1
      id: go-version
    - name: Set up Go ${{ steps.go-version.outputs.latest }}.x
      uses: WillAbides/setup-go-faster@v1.7.0
      with:
        go-version: ${{ steps.go-version.outputs.latest }}.x
        ignore-local: true
    - run: go version
    - name: Run GoReleaser
      uses: goreleaser/goreleaser-action@v3
      with:
        version: latest
        args: release
      env:
        GITHUB_TOKEN: ${{ github.token }}

Bump anothrNick/github-tag-action from 1.47.0 to 1.49.0
Bump anothrNick/github-tag-action from 1.47.0 to 1.49.0

Bumps [anothrNick/github-tag-action](https://github.com/anothrNick/github-tag-action) from 1.47.0 to 1.49.0.
- [Release notes](https://github.com/anothrNick/github-tag-action/releases)
- [Commits](https://github.com/anothrNick/github-tag-action/compare/1.47.0...1.49.0)

---
updated-dependencies:
- dependency-name: anothrNick/github-tag-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>