Skip to content

Commit

Permalink
Merge pull request #76 from karl-cardenas-coding/go-upgrade
Browse files Browse the repository at this point in the history
fix: update Go and dependencies
  • Loading branch information
karl-cardenas-coding authored Sep 2, 2021
2 parents e1f4a9f + 641d84a commit 7eeac93
Show file tree
Hide file tree
Showing 8,643 changed files with 396 additions and 967,611 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release to Production

on:
push:
branches: [ master ]
branches: [ main ]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -20,10 +20,10 @@ jobs:
steps:
-
id: go
name: "Set up Go 1.14"
name: "Set up Go 1.17"
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17
-
name: "Check out code into the Go module directory"
uses: actions/checkout@v2
Expand Down Expand Up @@ -62,10 +62,10 @@ jobs:
steps:
-
id: go
name: "Set up Go 1.14"
name: "Set up Go 1.17"
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17
-
name: "Check out code into the Go module directory"
uses: actions/checkout@v2
Expand All @@ -78,7 +78,7 @@ jobs:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
npm install
npm ci
npm install @semantic-release/exec -D
npx semantic-release --dry-run
cat VERSION.env
Expand All @@ -104,10 +104,10 @@ jobs:
steps:
-
id: go
name: "Set up Go 1.14"
name: "Set up Go 1.17"
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17
-
name: "Check out code into the Go module directory"
uses: actions/checkout@v2
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
name: "Set up Go"
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17
-
name: "Check out code into the Go module directory"
uses: actions/checkout@v2
Expand Down Expand Up @@ -193,10 +193,10 @@ jobs:
steps:
-
id: go
name: "Set up Go 1.14"
name: "Set up Go 1.17"
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17
-
name: "Check out code into the Go module directory"
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "CodeQL"

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

Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Test

on:
push:
branches-ignore: [ master ]
branches-ignore: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
env:
GITHUB_TOKEN: ${{ github.token }}
LINT_VERSION: "1.25.1"
LINT_VERSION: "1.41.1"

jobs:
test:
Expand All @@ -18,14 +18,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: next version
run: |
npm ci
npm install @semantic-release/exec -D
npx semantic-release --dry-run
Expand Down Expand Up @@ -79,7 +80,7 @@ jobs:
mkdir tempbin
echo 'Y' | ./disaster update -l ./tempbin/
sleep 5
chmod 775 disaster
chmod +x disaster
./disaster version
- uses: actions/upload-artifact@v1
with:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@

# VScode
.vscode/

node_modules/
2 changes: 1 addition & 1 deletion .releaserc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
branches: [master]
branches: [main]
repositoryUrl: https://github.com/karl-cardenas-coding/disaster-cli.git
plugins:
- "@semantic-release/commit-analyzer"
Expand Down
16 changes: 7 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
module github.com/karl-cardenas-coding/disaster-cli

go 1.16
go 1.17

require (
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/dustin/go-humanize v1.0.0
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jedib0t/go-pretty/v6 v6.1.0
github.com/magefile/mage v1.11.0 // indirect
github.com/mattn/go-runewidth v0.0.10 // indirect
github.com/jedib0t/go-pretty/v6 v6.2.4
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/sirupsen/logrus v1.8.0
github.com/spf13/cobra v1.1.3
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.2.1
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43 // indirect
golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
Loading

0 comments on commit 7eeac93

Please sign in to comment.