-
Notifications
You must be signed in to change notification settings - Fork 115
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
golang.org/x/term v0.5.0 -> v0.12.0 #7
Open
mokkang
wants to merge
14
commits into
teslamotors:main
Choose a base branch
from
m4ckdaddy:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2e1826f
Update go.mod
mokkang e78d9bf
Merge pull request #1 from m4ckdaddy/mokkang-patch-1
mokkang e7c50ee
Create go.yml
mokkang d566d6e
Update go.yml
mokkang 44ecb8c
Update go.yml
mokkang 397cdf3
Update go.yml
mokkang 5e5bd35
Update go.yml
mokkang 25c7f48
Update go.yml
mokkang ddfbc2b
Update go.yml
mokkang 5bbd8c6
Update go.yml
mokkang 0f63128
Update go.yml
mokkang 15c6f26
Update go.yml
mokkang 2080184
Update go.yml
mokkang 644adba
Update go.yml
mokkang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# This workflow will build a golang project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | ||
|
||
name: Go | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.20' | ||
|
||
|
||
# - name: Build | ||
# run: | | ||
# go mod download && go build | ||
# # # docker builder build github.com/teslamotors/vehicle-command | ||
|
||
|
||
- name: Check Auto | ||
run: | | ||
pwd | ||
ls */** | ||
cd ${{ github.repository }} | ||
export GOPATH=`go env GOPATH` && | ||
export PATH="$GOPATH/bin:$PATH" && go install github.com/relaxnow/vcgopkg@latest | ||
vcgopkg ./cmd/tesla-auth-token/main.go | ||
vcgopkg ./cmd/tesla-control/main.go | ||
vcgopkg ./cmd/tesla-http-proxy/main.go | ||
vcgopkg ./cmd/tesla-keygen/main.go | ||
|
||
- name: Veracode Upload And Scan | ||
# You may pin to the exact commit or the version. | ||
uses: veracode/veracode-uploadandscan-action@98e2a2941b985e55bfe469ebcb970b2e686625e4 | ||
# uses: veracode/[email protected] | ||
with: # appname | ||
appname: Go-Tesla # default is ${{ github.repository }} | ||
# createprofile | ||
createprofile: true # default is true | ||
# filepath | ||
filepath: ./veracode/*.zip | ||
# version | ||
version: ${{ github.run_id }}-${{ github.run_number }} # default is Scan from Github job: ${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }} | ||
# vid | ||
vid: ${{ secrets.VERACODE_API_ID }} | ||
# vkey | ||
vkey: ${{ secrets.VERACODE_API_KEY }} | ||
# true or false | ||
# createsandbox: # optional | ||
# name of the sandbox | ||
# sandboxname: # optional | ||
# wait X minutes for the scan to complete | ||
# scantimeout: # optional | ||
# modules to exclude from module selection | ||
# exclude: # optional | ||
# modules to include in module selection | ||
# include: # optional | ||
# business criticality - policy selection | ||
# criticality: # optional | ||
# filename pattern | ||
# pattern: # optional | ||
# # # replacement | ||
# replacement: # optional | ||
# # specify to scan in a sandbox | ||
# sandboxid: # optional | ||
# # All top level modules | ||
# scanallnonfataltoplevelmodules: # optional | ||
# # platform selected modules | ||
# selected: # optional | ||
# # selected modules like from previous scan | ||
# selectedpreviously: # optional | ||
# # teams | ||
# teams: # optional | ||
# # teams | ||
# toplevel: # optional | ||
# # automatically delete the current scan if there are any errors when uploading files or starting the scan | ||
# deleteincompletescan: # optional | ||
# # Interval, in seconds, to poll for the status of a running scan. Value range is 30 to 120 (two minutes). Default is 120. | ||
# scanpollinginterval: # optional | ||
# # specify version of the Java API Wrapper; default is latest | ||
# javawrapperversion: # optional | ||
# # show detailed diagnostic information, which you can use for debugging, in the output. | ||
# debug: # optional | ||
# # automatically select all new top-level modules for inclusion in the scan | ||
# includenewmodules: # optional |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you also need to update go.sum. Can you run go mod tidy?