Bump github.com/cometbft/cometbft from 0.38.12 to 0.38.15 #1195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile Shentu Daemon | |
# Controls when the action will run. | |
# This workflow runr on pushes to master & every Pull Requests. (Or when manually triggered) | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
# This workflow makes x86_64 binaries for mac, windows, and linux. | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [amd64] | |
targetos: [darwin, linux] | |
include: | |
- targetos: darwin | |
arch: arm64 | |
# include: | |
# - targetos: windows | |
# arch: amd64 | |
name: shentud ${{ matrix.arch }} for ${{ matrix.targetos }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
go-version: '^1.21' | |
env: | |
GOOS: ${{ matrix.targetos }} | |
GOARCH: ${{ matrix.arch }} | |
- name: Compile shentud binary | |
run: | | |
go mod download | |
cd app/shentud/cmd | |
go build . | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: shentud ${{ matrix.targetos }} ${{ matrix.arch }} | |
path: app/shentud/cmd/shentu |