-
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.
- Loading branch information
1 parent
e1b214e
commit d0194cd
Showing
3 changed files
with
67 additions
and
2 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,64 @@ | ||
name: Commit Workflow | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
commands-ok: | ||
name: Ensure main commands do not fail | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Commands | ||
run: | | ||
set -x | ||
date | ||
pwd | ||
whoami | ||
make deps build | ||
ls -lah bin/launchr | ||
mkdir -p .compose/build/ | ||
touch .compose/build/test | ||
./bin/launchr package | ||
export file="$(ls -t .compose/artifacts/ | head -n 1)"; echo ${file} | ||
tar -tf .compose/artifacts/${file} | ||
go-linters: | ||
name: Run linters | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Commands | ||
run: | | ||
set -x | ||
date | ||
pwd | ||
whoami | ||
make lint | ||
go-tests: | ||
name: Run Go tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Commands | ||
run: | | ||
set -x | ||
date | ||
pwd | ||
whoami | ||
make test | ||
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 |
---|---|---|
|
@@ -7,4 +7,5 @@ | |
*.gz | ||
*.gen.go | ||
dist/ | ||
vendor/ | ||
vendor/ | ||
.compose/ |
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