Skip to content

fix(deps): update module github.com/atc0005/go-teams-notify/v2 to v2.10.0 - autoclosed #2658

fix(deps): update module github.com/atc0005/go-teams-notify/v2 to v2.10.0 - autoclosed

fix(deps): update module github.com/atc0005/go-teams-notify/v2 to v2.10.0 - autoclosed #2658

Workflow file for this run

name: Test & Lint
on:
push:
tags:
- "v*.*.*"
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v3
name: Prepare cache
with:
# In order:
# * Module download cache
# * Build cache (Linux)
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test coverage
run: go test -race -covermode=atomic -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/checkout@v4
- name: Lint
uses: golangci/golangci-lint-action@v3