Created
October 19, 2020 21:16
-
-
Save deogracia/38786df26f946a2a4793204070c0693b to your computer and use it in GitHub Desktop.
windows: install go on github's windows host
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
name: Checks on_push | |
on: | |
push: | |
branches: | |
- "*" | |
tags: | |
- "!v*.*.*" | |
jobs: | |
windows_test: | |
name: windows-latest - tests | |
runs-on: windows-latest | |
steps: | |
- name: run gosec | |
run: | | |
export GOPATH="/$(go env GOPATH | sed 's/\\/\//g'| sed 's/://' )" | |
go get github.com/securego/gosec/cmd/gosec | |
PATH="/$(go env GOPATH | sed 's/\\/\//g'| sed 's/://' )/bin":$PATH | |
env |sort | |
gosec version | |
go version | |
go env | |
shell: bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment