Skip to content

.github/workflows: Add workflow for supported automated releases #190

.github/workflows: Add workflow for supported automated releases

.github/workflows: Add workflow for supported automated releases #190

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
tests:
name: Go ${{ matrix.go-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
go-version: ["1.15"]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go-version }}
- name: Run Tests
run: |
go test -cover ./...
shell: bash
formatting:
name: Go Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- name: Check formatting
run: ./.gha.gofmt.sh