Skip to content

Merge pull request #8 from systemli/Fix-Authorization-Header #25

Merge pull request #8 from systemli/Fix-Authorization-Header

Merge pull request #8 from systemli/Fix-Authorization-Header #25

Workflow file for this run

name: Integration
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: SonarCloud Scan
uses: sonarsource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
build:
name: Build
runs-on: ubuntu-22.04
needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Build
run: go build