From ac6ae108e714c875809c69991ac19a1185109a24 Mon Sep 17 00:00:00 2001 From: github-tijlxyz Date: Mon, 12 Feb 2024 11:53:42 +0100 Subject: [PATCH] fix dependencies and release workflow --- .github/workflows/release.yml | 18 +++--------------- go.mod | 6 +----- go.sum | 4 ++++ 3 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f219201..a037293 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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] diff --git a/go.mod b/go.mod index aceea85..1b49614 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 7753c18..df1b6ec 100644 --- a/go.sum +++ b/go.sum @@ -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=