[MM-55614] Remove trailing comma from lists #37
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
permissions: | |
contents: read | |
checks: write | |
pull-requests: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18.x | |
- name: Add dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install rsyslog -y | |
sudo service rsyslog start | |
- name: Run tests | |
run: | | |
go install gotest.tools/gotestsum@latest | |
mkdir -p test-reports | |
gotestsum --junitfile test-reports/unit-tests.xml | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: always() | |
with: | |
files: test-reports/unit-tests.xml |