Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

feat(serverless): add AlwaysDeploy option (#615) #464

feat(serverless): add AlwaysDeploy option (#615)

feat(serverless): add AlwaysDeploy option (#615) #464

name: Tests
on:
push:
branches:
- master
- beta
pull_request:
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.20"
- "1.19"
- "1.18"
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
cache: true
id: go
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
if: matrix.go == '1.20'
with:
files: ./coverage.txt