Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add top and num params #7

Closed
wants to merge 52 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
d09e77e
Add release.yml, build on windows,macos,linux
v-kamerdinerov Aug 6, 2024
29d3d7b
Bump go in release.yml
v-kamerdinerov Aug 6, 2024
0415e3d
Fix go.mod
v-kamerdinerov Aug 6, 2024
7714ec8
Revert "Fix go.mod"
v-kamerdinerov Aug 6, 2024
09df7c1
Add tidy to workflow
v-kamerdinerov Aug 6, 2024
420acd6
Fix release stage
v-kamerdinerov Aug 6, 2024
6f4860a
Try use all
v-kamerdinerov Aug 6, 2024
19cd4a2
bump version
v-kamerdinerov Aug 6, 2024
c0ac977
bump versions
v-kamerdinerov Aug 6, 2024
8ee78ab
Add exe
v-kamerdinerov Aug 6, 2024
7f53732
Edit download artifact
v-kamerdinerov Aug 6, 2024
6197e2e
Drop cache
v-kamerdinerov Aug 6, 2024
50e5a85
use sumple release
v-kamerdinerov Aug 6, 2024
3389bce
README, add mac os support
v-kamerdinerov Aug 7, 2024
b4bdf2d
drop env
v-kamerdinerov Aug 7, 2024
e9e8100
Add ping info
v-kamerdinerov Sep 4, 2024
fea87f9
Use only ms
v-kamerdinerov Sep 4, 2024
32087db
Format, checker
v-kamerdinerov Sep 4, 2024
48871c2
New json format
v-kamerdinerov Sep 4, 2024
465a8e2
Add lint
v-kamerdinerov Sep 4, 2024
97898bb
bump
v-kamerdinerov Sep 4, 2024
fcea543
try go mod
v-kamerdinerov Sep 4, 2024
89bde64
linter
v-kamerdinerov Sep 4, 2024
6b0e259
Add tls ping
v-kamerdinerov Sep 5, 2024
c39594e
Add top servers
v-kamerdinerov Sep 6, 2024
aca35bd
Add params, edit default
v-kamerdinerov Sep 6, 2024
7289754
lint
v-kamerdinerov Sep 6, 2024
8483e3d
Edit README.md
v-kamerdinerov Sep 6, 2024
e7d534d
Clean format
v-kamerdinerov Sep 6, 2024
554bb8e
Add LICENSE
v-kamerdinerov Sep 6, 2024
30051db
More clean README.md
v-kamerdinerov Sep 6, 2024
e32581e
Some typos in README.md
v-kamerdinerov Sep 6, 2024
f88b721
Update install-go script
v-kamerdinerov Sep 6, 2024
c5e368f
Doc changes
v-kamerdinerov Sep 6, 2024
7ef5bd8
Change constant
v-kamerdinerov Sep 6, 2024
070a32a
Comment
v-kamerdinerov Sep 6, 2024
64bbbdd
Typos
v-kamerdinerov Sep 7, 2024
0a86313
Typos
v-kamerdinerov Sep 7, 2024
c46b6c1
Typos
v-kamerdinerov Sep 7, 2024
182bab3
More readable
v-kamerdinerov Sep 7, 2024
336385b
Add tlsping to go.mod
v-kamerdinerov Sep 7, 2024
822ae88
Add go.sum
v-kamerdinerov Sep 7, 2024
122a5dc
Add badges
v-kamerdinerov Sep 7, 2024
fb023dc
Fix -showFail flag, edit top show
v-kamerdinerov Sep 8, 2024
398bc8e
Doc changes, better example
v-kamerdinerov Sep 8, 2024
872d052
Edit description. Best top filtration
v-kamerdinerov Sep 8, 2024
053ac83
Use default int vars
v-kamerdinerov Sep 8, 2024
7cee3da
Add logging, check go version
v-kamerdinerov Oct 6, 2024
40e3f3e
Enable lint on dev branch
v-kamerdinerov Oct 6, 2024
c52382f
Add --top params
v-kamerdinerov Oct 6, 2024
9fe9384
Add top and num IPs configuration
v-kamerdinerov Oct 27, 2024
951be22
Merge branch 'main' into dev
v-kamerdinerov Oct 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add release.yml, build on windows,macos,linux
v-kamerdinerov committed Aug 6, 2024
commit d09e77e4335fb8ee024cdbd3032ed2dd43813700
71 changes: 71 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Build and Release

on:
push:
tags:
- '*'

jobs:
build:
name: Build binaries
runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
arch: [amd64, arm64]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'

- name: Build binary
env:
GOARCH: ${{ matrix.arch }}
GOOS: ${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'macos-latest' && 'darwin' || 'windows' }}
run: |
go build -o SNI-Finder-${{ matrix.os }}-${{ matrix.arch }} .

- name: Upload binaries
uses: actions/upload-artifact@v3
with:
name: SNI-Finder-${{ matrix.os }}-${{ matrix.arch }}
path: SNI-Finder-${{ matrix.os }}-${{ matrix.arch }}

release:
name: Create GitHub Release
needs: build
runs-on: ubuntu-latest

steps:
- name: Download binaries
uses: actions/download-artifact@v3
with:
name: SNI-Finder-${{ matrix.os }}-${{ matrix.arch }}
path: .

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: SNI-Finder-${{ matrix.os }}-${{ matrix.arch }}
asset_name: SNI-Finder-${{ matrix.os }}-${{ matrix.arch }}
asset_content_type: application/octet-stream