Skip to content

Bump paambaati/codeclimate-action from 4.0.0 to 5.0.0 #300

Bump paambaati/codeclimate-action from 4.0.0 to 5.0.0

Bump paambaati/codeclimate-action from 4.0.0 to 5.0.0 #300

Workflow file for this run

name: Go Build & Test
on:
push:
branches:
- 'main'
pull_request:
branches:
- '*'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: Build & Test
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build & Test
run: |
go build -v
go test ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
args: release --clean --snapshot --skip-publish
# ref. https://github.com/gfx/example-github-actions-with-tty
- name: Colored Output Test
if: runner.os == 'Linux'
shell: 'script -q -e -c "bash {0}"'
run: go run main.go -- main.go