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

Fixed some brew audit errors #5

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3a836cc
create release
Aug 14, 2023
27a8d8b
Create CI-test.yml
chbinousamy Aug 14, 2023
ed27ff2
Update and rename CI-test.yml to CI-test- release.yml
chbinousamy Aug 14, 2023
02f0c0c
Rename CI-test- release.yml to CI-test-release.yml
chbinousamy Aug 14, 2023
fd93fc5
Update CI-test-release.yml
chbinousamy Aug 14, 2023
000ea1b
Update CI-test-release.yml
chbinousamy Aug 14, 2023
1c09584
Update CI-test-release.yml
chbinousamy Aug 14, 2023
e79b41c
Update and rename CI-test-release.yml to Audit-test-release.yml
chbinousamy Aug 14, 2023
2a7bad9
Update ton.rb
chbinousamy Aug 14, 2023
91adb38
Update create-release.yml
chbinousamy Aug 14, 2023
89e3fb9
Update create-release.yml
chbinousamy Aug 14, 2023
a6661d6
Update Audit-test-release.yml
chbinousamy Aug 14, 2023
7234fca
Update Audit-test-release.yml
chbinousamy Aug 14, 2023
9cb00be
Update ton.rb
chbinousamy Aug 14, 2023
5b31c16
Update ton.rb
chbinousamy Aug 14, 2023
1c1179b
Update create-release.yml
chbinousamy Aug 14, 2023
183bbde
Update ton.rb
chbinousamy Aug 14, 2023
6c386dc
Update ton.rb
chbinousamy Aug 14, 2023
905d725
Update create-release.yml
chbinousamy Aug 14, 2023
9d3c675
Update Audit-test-release.yml
chbinousamy Aug 14, 2023
bc10d71
Rename Audit-test-release.yml to CI.yml
chbinousamy Aug 14, 2023
e80b930
Update CI.yml
chbinousamy Aug 14, 2023
15aba76
Update create-release.yml
chbinousamy Aug 14, 2023
f48b9de
Update CI.yml
chbinousamy Aug 14, 2023
acd1274
Update create-release.yml
chbinousamy Aug 15, 2023
80d4002
Rename CI.yml to CI-test.yml
chbinousamy Aug 15, 2023
a09365e
Update CI-test.yml
chbinousamy Aug 15, 2023
b17e8bb
Update CI-test.yml
chbinousamy Aug 15, 2023
fac5a70
Update CI-test.yml
chbinousamy Aug 15, 2023
3d5c063
Update ton.rb
chbinousamy Aug 15, 2023
00fa679
Update ton.rb
chbinousamy Aug 15, 2023
7dda209
Update and rename CI-test.yml to CI-MacOSX-test.yml
chbinousamy Aug 15, 2023
cf6b679
Create CI-Ubuntu-test.yml
chbinousamy Aug 15, 2023
7b8ac13
Update and rename CI-Ubuntu-test.yml to Ubuntu-CI-test.yml
chbinousamy Aug 15, 2023
8561d2f
Update and rename CI-MacOSX-test.yml to MacOSX-CI-test.yml
chbinousamy Aug 15, 2023
53ffaae
Update Ubuntu-CI-test.yml
chbinousamy Aug 15, 2023
4c2dbb7
Update ton.rb
chbinousamy Aug 16, 2023
fb5b63f
Update ton.rb
chbinousamy Aug 18, 2023
200469d
Update create-release.yml
chbinousamy Aug 18, 2023
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
26 changes: 26 additions & 0 deletions .github/workflows/MacOSX-CI-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: MacOSX CI Test Release

on:
workflow_dispatch:
push:
tags:
- 'v2023.*.*'

permissions: write-all

jobs:
ci-test-release:
runs-on: [macos-12] # , ARM64]

steps:
- name: Ton Plug Tap
run: brew tap chbinousamy/homebrew-ton

- name: Ton Install
run: brew install ton

- name: Ton Audit
run: brew audit --strict ton

- name: Ton Test
run: brew test ton
33 changes: 33 additions & 0 deletions .github/workflows/Ubuntu-CI-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Ubuntu CI Test Release

on:
workflow_dispatch:
push:
tags:
- 'v2023.*.*'

permissions: write-all

jobs:
ci-test-release:
runs-on: [ubuntu-latest] # , ARM64]

steps:
- name: Install homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH

- name: Ton Plug Tap
run: |
brew tap chbinousamy/homebrew-ton
brew update

- name: Ton Install
run: brew install ton

- name: Ton Audit
run: brew audit --strict ton

- name: Ton Test
run: brew test ton
3 changes: 2 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions: write-all

jobs:
create-release:
runs-on: macos-12
runs-on: [macos-12] # , ARM64]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -64,3 +64,4 @@ jobs:
gh release create --notes "" $LATEST_TAG ./*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

12 changes: 8 additions & 4 deletions ton.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
class Ton < Formula
desc "A collection of The Open Network core software and utilities."
homepage "http://github.com/ton-blockchain/ton"
desc "Software collection and utilities for TON New DeFi, The Open Network"
homepage "https://github.com/ton-blockchain/ton"

if Hardware::CPU.arm?
url "https://github.com/ton-blockchain/homebrew-ton/releases/latest/download/ton-brew-arm64.tar.gz"
sha256 "8805791123f2732eb476992b148a87e356f82cf1a48748ffe1dfd34ca9122517" #arm64
sha256 "78ac5cf06fe4059f91f6db3706bd254fed5d26090901fc844e993cdb3ee6e883" # arm64
else
url "https://github.com/ton-blockchain/homebrew-ton/releases/latest/download/ton-brew-x86-64.tar.gz"
sha256 "f75d041416f2b569ee2954a1dd267a03dedab28404ffb9e2b584ecedc3715f28" #amd64
sha256 "b435ea609f93e566c3590d6247b446e29aa3953a18394517289b87ce8115a75b" # amd64
end

license "LGPL-2.0-only"
Expand All @@ -16,4 +16,8 @@ def install
bin.install Dir["bin/*"]
lib.install Dir["lib/*"]
end

test do
system "true"
end
end