-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from asecurityteam/github-actions
GitHub Actions
- Loading branch information
Showing
4 changed files
with
29 additions
and
155 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: [push] | ||
|
||
jobs: | ||
golang: | ||
runs-on: ubuntu-latest # we execute everything except make in docker anyway | ||
name: GoLang Basics | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: FS Permissions | ||
# workaround for permissions with contaner attempting to create directories | ||
run: chmod 777 -R "$(pwd)" | ||
- name: Dep | ||
run: make dep | ||
- name: Lint | ||
run: make lint | ||
- name: Unit Tests | ||
run: make test | ||
- name: Integration Tests | ||
run: make integration | ||
- name: Test Coverage | ||
run: make coverage | ||
- name: Upload Coverage | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
files: .coverage/combined.cover.out | ||
token: ${{ secrets.CODECOV_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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