fix dependencies and release workflow

This commit is contained in:
github-tijlxyz 2024-02-12 11:53:42 +01:00
parent 0fbc793b86
commit ac6ae108e7
3 changed files with 8 additions and 20 deletions

View File

@ -1,27 +1,15 @@
name: build for all platforms
on:
push:
tags:
- '*'
release:
types: [created]
permissions:
contents: write
jobs:
make-release:
releases-matrix:
runs-on: ubuntu-latest
steps:
- uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
build-all-for-all:
runs-on: ubuntu-latest
needs:
- make-release
strategy:
matrix:
goos: [linux, freebsd, darwin, windows]

6
go.mod
View File

@ -6,7 +6,7 @@ toolchain go1.21.6
require (
github.com/fiatjaf/eventstore v0.3.8
github.com/fiatjaf/khatru v0.0.0-00010101000000-000000000000
github.com/fiatjaf/khatru v0.3.1
github.com/kelseyhightower/envconfig v1.4.0
github.com/nbd-wtf/go-nostr v0.28.1
github.com/nbd-wtf/nostr-sdk v0.0.5
@ -50,7 +50,3 @@ require (
golang.org/x/net v0.18.0 // indirect
golang.org/x/sys v0.14.0 // indirect
)
replace github.com/fiatjaf/khatru => /home/fiatjaf/comp/khatru
replace github.com/fiatjaf/eventstore => /home/fiatjaf/comp/eventstore

4
go.sum
View File

@ -47,8 +47,12 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/fasthttp/websocket v1.5.7 h1:0a6o2OfeATvtGgoMKleURhLT6JqWPg7fYfWnH4KHau4=
github.com/fasthttp/websocket v1.5.7/go.mod h1:bC4fxSono9czeXHQUVKxsC0sNjbm7lPJR04GDFqClfU=
github.com/fiatjaf/eventstore v0.3.8 h1:q4jcN95O2CVA+wP47V25BcVSNvjfOiPPIWgPmQ6hTRk=
github.com/fiatjaf/eventstore v0.3.8/go.mod h1:Qsm5loQICkazpsj8tQmcOK95AVkQQNF09Xx/NS/Biow=
github.com/fiatjaf/generic-ristretto v0.0.1 h1:LUJSU87X/QWFsBXTwnH3moFe4N8AjUxT+Rfa0+bo6YM=
github.com/fiatjaf/generic-ristretto v0.0.1/go.mod h1:cvV6ANHDA/GrfzVrig7N7i6l8CWnkVZvtQ2/wk9DPVE=
github.com/fiatjaf/khatru v0.3.1 h1:wuiu6CD/FfKDAao1kxWIEnD9JFSkh5p1IkYA7xNkGHE=
github.com/fiatjaf/khatru v0.3.1/go.mod h1:GTplSjXtShIiL/o8q2KiyoAVidcHKSCHVqylj1pL8P0=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU=