fix(smtp): use param props from params arg #795
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: Main Workflow | |
on: | |
pull_request: {} | |
workflow_dispatch: {} | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- 'v*' | |
paths-ignore: | |
- 'docs/*' | |
permissions: | |
contents: read | |
jobs: | |
go-versions: | |
name: Lookup go versions | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.versions.outputs.matrix }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: arnested/go-version-action@v1 | |
id: versions | |
build: | |
name: Build Shoutrrr | |
runs-on: ubuntu-latest | |
needs: go-versions | |
strategy: | |
matrix: | |
version: ${{ fromJSON(needs.go-versions.outputs.matrix) }} | |
steps: | |
- name: Set up Go ${{ matrix.version }} | |
uses: actions/setup-go@v5 | |
id: go | |
with: | |
go-version: ${{ matrix.version }} | |
check-latest: true | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: CGO_ENABLED=0 go build -v . | |
- name: Test | |
run: CGO_ENABLED=0 go test -v -coverprofile=coverage.out -covermode=atomic ./... | |
- name: Publish coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |