Skip to content

Commit

Permalink
Merge pull request #120 from dvdmuckle/dev
Browse files Browse the repository at this point in the history
Release 1.1.2
  • Loading branch information
dvdmuckle committed Mar 5, 2022
2 parents 52f52ab + 6338a10 commit deb00fe
Show file tree
Hide file tree
Showing 6 changed files with 255 additions and 71 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: compile and release
uses: wangyoucao577/go-release-action@v1.14
uses: wangyoucao577/go-release-action@v1.24
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: "386"
Expand All @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: compile and release
uses: wangyoucao577/go-release-action@v1.14
uses: wangyoucao577/go-release-action@v1.24
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: amd64
Expand All @@ -36,7 +36,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: compile and release
uses: wangyoucao577/go-release-action@v1.14
uses: wangyoucao577/go-release-action@v1.24
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: "arm"
Expand All @@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: compile and release
uses: wangyoucao577/go-release-action@v1.14
uses: wangyoucao577/go-release-action@v1.24
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: arm64
Expand All @@ -62,20 +62,33 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: compile and release
uses: wangyoucao577/go-release-action@v1.14
uses: wangyoucao577/go-release-action@v1.24
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: amd64
goos: darwin
extra_files: "LICENSE"
ldflags: "-X github.com/dvdmuckle/spc/cmd.version=${{ github.event.release.tag_name }}"
release-darwin-arm64:
name: release darwin/arm64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: compile and release
uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: arm64
goos: darwin
extra_files: "LICENSE"
ldflags: "-X github.com/dvdmuckle/spc/cmd.version=${{ github.event.release.tag_name }}"
release-windows-386:
name: release windows/386
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: compile and release
uses: wangyoucao577/go-release-action@v1.14
uses: wangyoucao577/go-release-action@v1.24
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: "386"
Expand All @@ -88,7 +101,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: compile and release
uses: wangyoucao577/go-release-action@v1.14
uses: wangyoucao577/go-release-action@v1.24
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: amd64
Expand Down
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ dev, main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ dev ]
schedule:
- cron: '19 6 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
spc (1.1.2-1) focal; urgency=medium

* Update dependencies

-- David Muckle <[email protected]> Sat, 05 Mar 2022 01:32:58 -0500

spc (1.1.1-1) focal; urgency=medium

* Remove debug println
Expand Down
13 changes: 5 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,19 @@ module github.com/dvdmuckle/spc
go 1.16

require (
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/golang/glog v1.0.0
github.com/kr/text v0.2.0 // indirect
github.com/ktr0731/go-fuzzyfinder v0.5.1
github.com/ktr0731/go-fuzzyfinder v0.6.0
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/nsf/termbox-go v1.1.1 // indirect
github.com/spf13/cobra v1.2.1
github.com/spf13/viper v1.9.0
github.com/spf13/cobra v1.3.0
github.com/spf13/viper v1.10.1
github.com/stretchr/objx v0.2.0 // indirect
github.com/zalando/go-keyring v0.1.1
github.com/zalando/go-keyring v0.2.0
github.com/zmb3/spotify v1.3.0
golang.org/x/net v0.0.0-20210908191846-a5e095526f91 // indirect
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365 // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
)
Loading

0 comments on commit deb00fe

Please sign in to comment.