Skip to content

Merge pull request #15 from zalando/cleanup #15

Merge pull request #15 from zalando/cleanup

Merge pull request #15 from zalando/cleanup #15

Workflow file for this run

name: Lightstep Receiver build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.3
cache: false
- run: go install golang.org/x/lint/golint@latest
- run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: Check
run: make check
- name: Build
run: make build
release:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: build
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Get next version
uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch
- name: Create Tag and Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ github.token }}
with:
tag_name: v${{ steps.version.outputs.version }}
release_name: Release v${{ steps.version.outputs.version }}
draft: false
prerelease: false