-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michael Hoang <[email protected]>
- Loading branch information
1 parent
15ff51f
commit 00e6c0d
Showing
82 changed files
with
212 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
# This workflow will build a Java project with Maven | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
|
||
name: CI | ||
on: | ||
push: | ||
|
@@ -11,10 +8,6 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./go | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
@@ -23,19 +16,13 @@ jobs: | |
with: | ||
go-version: '1.19' | ||
|
||
- name: Set envs | ||
run: | | ||
go env -w GOPATH=$GITHUB_WORKSPACE | ||
go env -w GO111MODULE=auto | ||
- name: Check go mod status | ||
run: | | ||
make gomod_tidy | ||
if [[ ! -z $(git status -s) ]] | ||
then | ||
echo "Go mod state is not clean" | ||
git diff "$GITHUB_SHA" | ||
exit 1 | ||
STATUS=$(git status --porcelain go.mod go.sum) | ||
if [ ! -z "$STATUS" ]; then | ||
echo "Running go mod tidy modified go.mod and/or go.sum" | ||
exit 1 | ||
fi | ||
- name: Build binary | ||
|
@@ -45,7 +32,6 @@ jobs: | |
run: make test | ||
|
||
- name: Run Gosec Security Scanner | ||
working-directory: ./ | ||
run: | | ||
export PATH=$PATH:$(go env GOPATH)/bin | ||
go install github.com/securego/gosec/v2/cmd/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,11 +37,3 @@ nb-configuration.xml | |
|
||
# Local environment | ||
.env | ||
|
||
# node | ||
lib/ | ||
node_modules/ | ||
.npmignore | ||
|
||
# Go | ||
/pkg/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
module github.com/redhat-developer/alizer/go | ||
module github.com/devfile/alizer | ||
|
||
go 1.19 | ||
|
||
require ( | ||
github.com/go-git/go-git/v5 v5.5.1 | ||
github.com/go-git/go-git/v5 v5.7.0 | ||
github.com/go-logr/logr v1.2.4 | ||
github.com/moby/buildkit v0.10.6 | ||
github.com/moby/buildkit v0.11.6 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 | ||
github.com/spf13/cobra v1.7.0 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/stretchr/testify v1.8.1 | ||
go.uber.org/zap v1.24.0 | ||
golang.org/x/mod v0.10.0 | ||
golang.org/x/mod v0.11.0 | ||
gopkg.in/yaml.v3 v3.0.1 | ||
sigs.k8s.io/controller-runtime v0.15.0 | ||
) | ||
|
||
require ( | ||
github.com/Microsoft/go-winio v0.6.1 // indirect | ||
github.com/ProtonMail/go-crypto v0.0.0-20230417170513-8ee5748c52b5 // indirect | ||
github.com/ProtonMail/go-crypto v0.0.0-20230626094100-7e9e0395ebec // 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/containerd/typeurl v1.0.2 // 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.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/go-logr/zapr v1.2.4 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/gofuzz v1.1.0 // indirect | ||
github.com/imdario/mergo v0.3.15 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/imdario/mergo v0.3.16 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/kevinburke/ssh_config v1.2.0 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/pjbgf/sha1cd v0.2.3 // indirect | ||
github.com/pjbgf/sha1cd v0.3.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/rogpeppe/go-internal v1.10.0 // indirect | ||
github.com/sergi/go-diff v1.3.1 // indirect | ||
github.com/skeema/knownhosts v1.1.0 // indirect | ||
github.com/skeema/knownhosts v1.1.1 // indirect | ||
github.com/xanzy/ssh-agent v0.3.3 // indirect | ||
go.uber.org/atomic v1.7.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
golang.org/x/crypto v0.8.0 // indirect | ||
golang.org/x/net v0.10.0 // indirect | ||
golang.org/x/sys v0.8.0 // indirect | ||
golang.org/x/text v0.9.0 // indirect | ||
golang.org/x/tools v0.9.1 // indirect | ||
google.golang.org/protobuf v1.30.0 // indirect | ||
go.uber.org/atomic v1.11.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/crypto v0.10.0 // indirect | ||
golang.org/x/net v0.11.0 // indirect | ||
golang.org/x/sys v0.9.0 // indirect | ||
golang.org/x/text v0.10.0 // indirect | ||
golang.org/x/tools v0.10.0 // indirect | ||
google.golang.org/protobuf v1.31.0 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/warnings.v0 v0.1.2 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
k8s.io/apimachinery v0.27.2 // indirect | ||
k8s.io/klog/v2 v2.90.1 // indirect | ||
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect | ||
k8s.io/apimachinery v0.27.3 // indirect | ||
k8s.io/klog/v2 v2.100.1 // indirect | ||
k8s.io/utils v0.0.0-20230505201702-9f6742963106 // indirect | ||
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | ||
) |
Oops, something went wrong.