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

Update all dependencies #52

Merged
merged 6 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
meson_options: -Dportable=true -Db_vscrt=static_from_buildtype

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4.7.1
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
Expand All @@ -45,7 +45,7 @@ jobs:
run: |
git clone https://github.com/rizinorg/rizin
cd rizin
git checkout v0.6.3
git checkout v0.7.0
meson --buildtype=release --prefix=${{ matrix.prefix }} ${{ matrix.meson_options }} build
meson compile ${{ matrix.os == 'windows-latest' && '-j1' || '' }} -C build
${{ matrix.sudo }} meson install -C build
Expand All @@ -55,12 +55,12 @@ jobs:
run: |
echo "D:/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Set up Golang
uses: actions/setup-go@v1
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Run unit tests
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Build the Go binary
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
cc: /tmp/android-ndk/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: '1.19'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Install Android NDK
if: matrix.goos == 'android'
run: |
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Rename rz-pm
run: mv ./rz-pm${{ matrix.goos == 'windows' && '.exe' || '' }} ./rz-pm-${{ matrix.goos }}-${{ matrix.asset_arch }}${{ matrix.goos == 'windows' && '.exe' || '' }}
- name: Upload rz-pm build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rz-pm-${{ matrix.goos }}-${{ matrix.asset_arch }}
path: ./rz-pm-${{ matrix.goos }}-${{ matrix.asset_arch }}${{ matrix.goos == 'windows' && '.exe' || '' }}
Expand All @@ -73,12 +73,12 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') || contains(github.ref, 'test-release')
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Check version matches
if: startsWith(github.ref, 'refs/tags/')
run: |
[[ "$(grep app.Version main.go | sed -r 's/.*\"(v[0-9\.]+)\"/\1/')" =~ "${{ github.ref_name }}" ]]
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
Expand Down
26 changes: 12 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,27 @@ go 1.17

require (
github.com/adrg/xdg v0.4.0
github.com/fatih/color v1.15.0
github.com/go-git/go-git/v5 v5.9.0
github.com/fatih/color v1.16.0
github.com/go-git/go-git/v5 v5.11.0
github.com/hashicorp/go-version v1.6.0
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf
github.com/stretchr/testify v1.8.0
github.com/urfave/cli/v2 v2.25.7
github.com/stretchr/testify v1.8.4
github.com/urfave/cli/v2 v2.27.1
gopkg.in/yaml.v2 v2.4.0
)

require (
dario.cat/mergo v1.0.0 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c // indirect
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/ProtonMail/go-crypto v1.0.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand All @@ -37,12 +35,12 @@ require (
github.com/sergi/go-diff v1.3.1 // indirect
github.com/skeema/knownhosts v1.2.1 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/mod v0.13.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/tools v0.14.0 // indirect
github.com/xrash/smetrics v0.0.0-20231213231151-1d8dd44e695e // indirect
golang.org/x/crypto v0.19.0 // indirect
golang.org/x/mod v0.15.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/tools v0.18.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading
Loading