Skip to content

chore(deps): update actions/checkout action to v4 #12

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #12

Workflow file for this run

name: Build & Test
"on":
push:
branches:
- '*'
pull_request:
branches:
- '*'
schedule:
- cron: 01 13 * * SAT
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
runs-on: ${{ matrix.os }}
name: Build & Test
steps:
- uses: actions/checkout@v4
- 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 --snapshot --skip-publish --clean
- name: Colored Output Test
if: runner.os == 'Linux'
shell: script -q -e -c "bash {0}"
run: go run main.go -- main.go