Skip to content

Commit

Permalink
fix: memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
petkodes committed Mar 4, 2024
1 parent 289f9e8 commit 3b4abff
Show file tree
Hide file tree
Showing 16 changed files with 1,185 additions and 571 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gen-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
- name: Install Go
run: |
if [ $(uname -m) = "aarch64" ]; then
wget https://golang.org/dl/go1.19.5.linux-arm64.tar.gz &&
sudo tar -C /usr/local -xzf go1.19.5.linux-arm64.tar.gz
wget https://golang.org/dl/go1.20.13.linux-arm64.tar.gz &&
sudo tar -C /usr/local -xzf go1.20.13.linux-arm64.tar.gz
else
wget https://golang.org/dl/go1.19.5.linux-amd64.tar.gz &&
sudo tar -C /usr/local -xzf go1.19.5.linux-amd64.tar.gz
wget https://golang.org/dl/go1.20.13.linux-amd64.tar.gz &&
sudo tar -C /usr/local -xzf go1.20.13.linux-amd64.tar.gz
fi
export PATH=$PATH:/usr/local/go/bin
- name: Build release binary
Expand All @@ -49,7 +49,7 @@ jobs:
toolchain: stable
- uses: actions/setup-go@v4
with:
go-version: "1.19.5"
go-version: "1.20.13"
- name: Build release binary
run: |
cargo build --release
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: git submodule update --init --recursive
- uses: actions/setup-go@v4 # we need go to build go-waku
with:
go-version: "1.19"
go-version: "1.20"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
run: git submodule update --init --recursive
- uses: actions/setup-go@v4 # we need go to build go-waku
with:
go-version: "1.19"
go-version: "1.20"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
run: git submodule update --init --recursive
- uses: actions/setup-go@v4 # we need go to build go-waku
with:
go-version: "1.19"
go-version: "1.20"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
run: git submodule update --init --recursive
- uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.20"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down
Loading

0 comments on commit 3b4abff

Please sign in to comment.