Skip to content

feat: build and push container image to GHCR. #1

feat: build and push container image to GHCR.

feat: build and push container image to GHCR. #1

Workflow file for this run

name: Test
on:
push:
branches:
- '**'
jobs:
test:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22.1
- name: Test
run: go test --tags=test -coverprofile=cover.out $(go list ./... | grep -v mxtransporter/cmd)
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}