As 3093 set ruptela active status when listing vehicles #1496
Workflow file for this run
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: gotest | |
on: | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
tests: | |
runs-on: [self-hosted, linux] | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22 | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Get dependencies | |
run: | | |
go get -v -t ./... | |
go install gotest.tools/gotestsum@latest | |
- name: modVerify | |
run: go mod verify | |
- name: Run Tests with go testsum | |
run: gotestsum --format pkgname --jsonfile test.json | |
- name: Annotate tests | |
if: always() | |
uses: guyarb/[email protected] | |
with: | |
test-results: test.json |