Skip to content

Commit

Permalink
Merge pull request #32 from Planxnx/feature/upgrade-deps
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
Planxnx authored Dec 25, 2023
2 parents be04601 + 36fa70a commit f964471
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 88 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Building and Push to Docker Hub
name: Building and Push Docker Image to Docker Hub
on:
workflow_dispatch:
release:
types: [published]

jobs:
build:
name: Build and Push
name: Build and Push Docker Image
runs-on: ubuntu-latest
env:
IMAGE_NAME: ethereum-wallet-generator
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# WORK IN PROGRESS

on:
push:
tags:
- "v*"

name: Release
defaults:
run:
shell: bash
jobs:
lint:
name: Code Analysis & Tests
uses: planxnx/ethereum-wallet-generator/.github/workflows/code-analysis.yml@main
release:
name: Create Release
runs-on: "ubuntu-latest"
needs: test
strategy:
matrix:
# List of GOOS and GOARCH pairs from `go tool dist list`
goosarch:
- "darwin/arm64"
# - "darwin/amd64"
# - "windows/amd64"
# - "linux/amd64"
# - "linux/arm64"
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
cache: true # caching and restoring go modules and build outputs.
- name: Prepare OS and Arch
run: |
GOOSARCH=${{matrix.goosarch}}
GOOS=${GOOSARCH%/*}
GOARCH=${GOOSARCH#*/}
BINARY_NAME=${{github.repository}}-$GOOS-$GOARCH
echo "BINARY_NAME=$BINARY_NAME" >> $GITHUB_ENV
echo "GOOS=$GOOS" >> $GITHUB_ENV
echo "GOARCH=$GOARCH" >> $GITHUB_ENV
- name: Build
run: |
go build -o "$BINARY_NAME" -v
- name: Release Notes
run: git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n * %an <%ae>' --no-merges >> ".github/RELEASE-TEMPLATE.md"
- name: Release with Notes
uses: softprops/action-gh-release@v1
with:
body_path: ".github/RELEASE-TEMPLATE.md"
draft: true
files: ${{env.BINARY_NAME}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47 changes: 28 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,54 @@ module github.com/planxnx/ethereum-wallet-generator
go 1.20

require (
github.com/btcsuite/btcd v0.23.4
github.com/btcsuite/btcd/btcutil v1.1.3
github.com/btcsuite/btcd v0.23.5-0.20231215221805-96c9fd8078fd
github.com/btcsuite/btcd/btcutil v1.1.4
github.com/cheggaaa/pb/v3 v3.1.4
github.com/ethereum/go-ethereum v1.12.2
github.com/glebarez/sqlite v1.9.0
github.com/ethereum/go-ethereum v1.13.8
github.com/glebarez/sqlite v1.10.0
github.com/pkg/errors v0.9.1
github.com/schollz/progressbar/v3 v3.13.1
github.com/schollz/progressbar/v3 v3.14.1
github.com/stretchr/testify v1.8.4
github.com/tyler-smith/go-bip39 v1.1.0
gorm.io/gorm v1.25.3
golang.org/x/crypto v0.17.0
gorm.io/gorm v1.25.5
)

require (
github.com/VividCortex/ewma v1.2.0 // indirect
github.com/bits-and-blooms/bitset v1.12.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/glebarez/go-sqlite v1.21.2 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/holiman/uint256 v1.2.3 // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/stretchr/testify v1.8.2
golang.org/x/crypto v0.12.0
golang.org/x/sys v0.11.0 // indirect
golang.org/x/term v0.11.0 // indirect
github.com/supranational/blst v0.3.11 // indirect
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/term v0.15.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
modernc.org/libc v1.24.1 // indirect
modernc.org/libc v1.38.0 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.7.0 // indirect
modernc.org/sqlite v1.25.0 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/sqlite v1.28.0 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)
Loading

0 comments on commit f964471

Please sign in to comment.