Skip to content

Commit

Permalink
add command transform (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
eksrha committed May 25, 2023
1 parent a520c70 commit 6c6cf66
Show file tree
Hide file tree
Showing 13 changed files with 175 additions and 33 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,22 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19

- name: Build
run: make VERSION="${{ needs.create_release.outputs.version }}"
run: make
env:
VERSION: "${{ needs.create_release.outputs.version }}"

- name: Test
run: make test

- name: create changelog & update release-template.md
run: LATEST_VERSION="${{ needs.create_release.outputs.latest-version }}" make chglog
run: make chglog
env:
LATEST_VERSION: "${{ needs.create_release.outputs.latest-version }}"

- name: Cache build outputs
uses: actions/cache@v3
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/branchPR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19

- name: Build
run: make VERSION="${{ needs.generate_infos.outputs.version }}"
run: make
env:
VERSION: "${{ needs.generate_infos.outputs.version }}"

- name: Test
run: make test
Expand All @@ -43,7 +45,9 @@ jobs:
run: export | grep ACI_

- name: create changelog & update release-template.md
run: LATEST_VERSION="${{ needs.generate_infos.outputs.latest-version }}" make chglog
run: make chglog
env:
LATEST_VERSION: "${{ needs.generate_infos.outputs.latest-version }}"

- name: Cache build outputs
uses: actions/cache@v3
Expand Down
39 changes: 20 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ go 1.20
require (
github.com/coreos/go-semver v0.3.1
github.com/ghodss/yaml v1.0.0
github.com/go-git/go-git/v5 v5.6.0
github.com/google/go-github/v49 v49.1.0
github.com/go-git/go-git/v5 v5.7.0
github.com/google/go-github/v52 v52.0.0
github.com/itchyny/gojq v0.12.12
github.com/spf13/cobra v1.6.1
github.com/xanzy/go-gitlab v0.80.3
golang.org/x/oauth2 v0.6.0
github.com/spf13/cobra v1.7.0
github.com/xanzy/go-gitlab v0.83.0
golang.org/x/oauth2 v0.8.0
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/itchyny/timefmt-go v0.1.5 // indirect
github.com/kr/pretty v0.3.1 // indirect
Expand All @@ -25,34 +26,34 @@ require (
)

require (
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/cloudflare/circl v1.3.2 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.4.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.4.0 // indirect
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/imdario/mergo v0.3.15 // 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
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/sirupsen/logrus v1.9.0
github.com/skeema/knownhosts v1.1.0 // indirect
github.com/sirupsen/logrus v1.9.2
github.com/skeema/knownhosts v1.1.1 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
golang.org/x/crypto v0.7.0 // indirect
golang.org/x/mod v0.9.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.7.0 // indirect
golang.org/x/tools v0.9.1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
)
Loading

0 comments on commit 6c6cf66

Please sign in to comment.