Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
use go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Aug 20, 2021
1 parent 25ccab7 commit bcd94fe
Show file tree
Hide file tree
Showing 3 changed files with 384 additions and 34 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,20 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.16.x

- name: Check out code
uses: actions/checkout@v2
with:
ref: 'master'
fetch-depth: '0'

- name: Generate Git log
run: |
git fetch origin +refs/tags/*:refs/tags/*
echo "Current Tag: ${GITHUB_REF}"
git checkout ${GITHUB_REF} -b compile
GITVER=$(git describe --tags)
PREVVER=$(git describe --tags --abbrev=0 ${GITVER}~1)
git log --oneline ${PREVVER}..${GITVER} | tee gittaglogs.txt
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "^1.17"

- name: Get dependencies
run: |
go get -v -t -d ./...
go mod download -x
- name: Build
run: |
Expand All @@ -42,7 +33,17 @@ jobs:
bash scripts/make_release.sh gzip 386 purego
bash scripts/make_release.sh gzip arm64 purego
bash scripts/make_release.sh gzip darwin purego
- name: Generate Git Log
run: |
go version
git fetch origin +refs/tags/*:refs/tags/*
echo "Current Tag: ${GITHUB_REF}"
git checkout ${GITHUB_REF} -b compile
GITVER=$(git describe --tags)
PREVVER=$(git describe --tags --abbrev=0 ${GITVER}~1)
git log --oneline ${PREVVER}..${GITVER} | tee gittaglogs.txt
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -53,8 +54,8 @@ jobs:
cloud-torrent_linux_386_static.gz
cloud-torrent_linux_arm64_static.gz
cloud-torrent_darwin_amd64_static.gz
prerelease: true
draft: false
prerelease: false
draft: true
body_path: gittaglogs.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87 changes: 86 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/boypt/simple-torrent

go 1.16
go 1.17

require (
github.com/NYTimes/gziphandler v1.1.1
Expand Down Expand Up @@ -40,6 +40,91 @@ require (
gopkg.in/yaml.v2 v2.4.0
)

require (
crawshaw.io/sqlite v0.3.3-0.20210127221821-98b1f83c5508 // indirect
github.com/PuerkitoBio/goquery v1.5.1 // indirect
github.com/RoaringBitmap/roaring v0.6.0 // indirect
github.com/anacrolix/confluence v1.7.1-0.20210311004351-d642adb8546c // indirect
github.com/anacrolix/dht/v2 v2.9.1 // indirect
github.com/anacrolix/envpprof v1.1.1 // indirect
github.com/anacrolix/go-libutp v1.0.4 // indirect
github.com/anacrolix/missinggo v1.2.1 // indirect
github.com/anacrolix/missinggo/perf v1.0.0 // indirect
github.com/anacrolix/missinggo/v2 v2.5.0 // indirect
github.com/anacrolix/mmsg v1.0.0 // indirect
github.com/anacrolix/multiless v0.1.0 // indirect
github.com/anacrolix/stm v0.3.0-alpha // indirect
github.com/anacrolix/sync v0.2.0 // indirect
github.com/anacrolix/upnp v0.1.2-0.20200416075019-5e9378ed1425 // indirect
github.com/anacrolix/utp v0.1.0 // indirect
github.com/andybalholm/cascadia v1.1.0 // indirect
github.com/benbjohnson/immutable v0.3.0 // indirect
github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/edsrzf/mmap-go v1.0.0 // indirect
github.com/elliotchance/orderedmap v1.4.0 // indirect
github.com/google/btree v1.0.1 // indirect
github.com/google/uuid v1.2.0 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-multierror v1.0.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/jpillora/eventsource v1.0.0 // indirect
github.com/json-iterator/go v1.1.10 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/mmcdole/goxpp v0.0.0-20181012175147-0068e33feabf // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/mschoch/smat v0.2.0 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/pion/datachannel v1.4.21 // indirect
github.com/pion/dtls/v2 v2.0.9 // indirect
github.com/pion/ice/v2 v2.1.7 // indirect
github.com/pion/interceptor v0.0.12 // indirect
github.com/pion/logging v0.2.2 // indirect
github.com/pion/mdns v0.0.5 // indirect
github.com/pion/randutil v0.1.0 // indirect
github.com/pion/rtcp v1.2.6 // indirect
github.com/pion/rtp v1.6.5 // indirect
github.com/pion/sctp v1.7.12 // indirect
github.com/pion/sdp/v3 v3.0.4 // indirect
github.com/pion/srtp/v2 v2.0.2 // indirect
github.com/pion/stun v0.3.5 // indirect
github.com/pion/transport v0.12.3 // indirect
github.com/pion/turn/v2 v2.0.5 // indirect
github.com/pion/udp v0.1.1 // indirect
github.com/pion/webrtc/v3 v3.0.27 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/posener/complete v1.2.2-0.20190308074557-af07aa5181b3 // indirect
github.com/rs/dnscache v0.0.0-20210201191234-295bba877686 // indirect
github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46 // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/spf13/afero v1.1.2 // indirect
github.com/spf13/cast v1.3.0 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/tidwall/gjson v1.3.2 // indirect
github.com/tidwall/match v1.0.1 // indirect
github.com/tidwall/pretty v1.0.0 // indirect
github.com/tklauser/go-sysconf v0.3.6 // indirect
github.com/tklauser/numcpus v0.2.2 // indirect
github.com/willf/bitset v1.1.11 // indirect
github.com/willf/bloom v2.0.3+incompatible // indirect
go.etcd.io/bbolt v1.3.5 // indirect
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a // indirect
golang.org/x/net v0.0.0-20210510120150-4163338589ed // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20210514084401-e8d321eab015 // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
gopkg.in/ini.v1 v1.51.0 // indirect
)

replace (
github.com/anacrolix/dht/v2 => github.com/boypt/dht/v2 v2.9.2
github.com/jpillora/velox => github.com/boypt/velox v0.0.0-20210702064309-321adb7223d6
Expand Down
Loading

0 comments on commit bcd94fe

Please sign in to comment.