-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make it a go module Party like its 2019 * Remove old CI * Add new CI * Add new CI badge to README
- Loading branch information
1 parent
d9cfd74
commit 0afbb1e
Showing
5 changed files
with
31 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
name: Run CI Tests | ||
on: [push] | ||
env: | ||
GO_VERSION: 1.19.1 | ||
jobs: | ||
run-tests: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{env.GO_VERSION}} | ||
- name: Run Go Vet | ||
run: | | ||
go vet ./... | ||
- name: Run Go Fmt | ||
run: | | ||
files=$(go fmt ./...) | ||
if [ -n "$files" ]; then | ||
echo "Please run gofmt on these files ..." | ||
echo "$files" | ||
exit 1 | ||
fi | ||
- name: Run Go Test | ||
run: | | ||
go test -race -v ./... |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/hashicorp/go-envparse | ||
|
||
go 1.13 |