Skip to content

Merge pull request #11 from armosec/fix-v #18

Merge pull request #11 from armosec/fix-v

Merge pull request #11 from armosec/fix-v #18

Workflow file for this run

name: Release-Tag
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Build
run: go build -v ./...
- name: Test
run: go test -race -timeout 40s -v ./...
- name: Create a release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v0.0.${{ github.run_number }}
release_name: Release v0.0.${{ github.run_number }}
draft: false
prerelease: false