-
Notifications
You must be signed in to change notification settings - Fork 3
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
375360b
commit 7bb45c3
Showing
3 changed files
with
36 additions
and
1 deletion.
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 @@ | ||
name: Run lint & unit tests | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
name: "Run unit tests" | ||
runs-on: [buildjet-2vcpu-ubuntu-2204-arm] | ||
container: | ||
image: ghcr.io/viamrobotics/ocean-prefilter:arm64 | ||
options: --platform linux/arm64 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
||
|
||
- name: Run lint | ||
run: | | ||
make lint | ||
- name: Run unit tests | ||
run: 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/viamrobotics/ocean-prefilter | ||
|
||
go 1.21 | ||
go 1.21.7 | ||
|
||
toolchain go1.21.12 | ||
|
||
|