Skip to content
Merged
29 changes: 29 additions & 0 deletions .github/workflows/goreleaser-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: GoReleaser config check
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- .goreleaser.yaml
workflow_dispatch:

permissions:
contents: read

jobs:
goreleaser-check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 1

- uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6
with:
install-only: true

- name: goreleaser check
run: goreleaser check
43 changes: 43 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# .goreleaser.yaml for rpcpool/yellowstone-jet
#
# This file must be committed to the root of the yellowstone-jet source
# repo. GCS upload, cosigning, and GitHub Release publishing are injected via
# ci/goreleaser-patch.yaml in Binaries-ci at build time.
#
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json

version: 2

builds:
- id: jet
builder: rust
binary: jet
targets:
- x86_64-unknown-linux-gnu
flags:
- --release
- --package=yellowstone-jet
- --bin=jet
env:
- OPENSSL_INCLUDE_DIR=/usr/include
- OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
- CFLAGS_x86_64_unknown_linux_gnu=-isystem /usr/include/x86_64-linux-gnu

archives:
- id: jet
name_template: jet-linux-amd64
formats: [binary]
ids:
- jet

release:
github:
owner: rpcpool
name: yellowstone-jet
draft: true
header: |
rust {{ .Env.RUST_VERSION }}

changelog:
sort: asc
use: github
74 changes: 37 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading