mirror of
https://github.com/lukaszraczylo/oss-telemetry.git
synced 2026-10-13 00:48:35 +00:00
ci: migrate to shared workflows (#1)
Replace the generic ci.yml jobs with the shared go-pr and go-release workflows. Add autoupdate through shared go-autoupdate. Keep golangci-lint in a separate lint.yaml, because the shared workflows do not run it. Add a build-less .goreleaser.yaml so the shared release flow can tag and publish the library.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**.go"
|
||||
- "go.mod"
|
||||
- "go.sum"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
uses: lukaszraczylo/shared-actions/.github/workflows/go-release.yaml@main
|
||||
with:
|
||||
go-version: ">=1.22"
|
||||
semver-config: ".semver.yaml"
|
||||
secrets: inherit
|
||||
Reference in New Issue
Block a user