Skip to content

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

feat: build and push container image to GHCR.

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

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5.0.0
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 }}