chore(deps): bump actions/checkout from 3 to 4 #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Commit | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
unit-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 8 | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
go-version: | |
- "1.16" | |
- "1.17" | |
- "1.18" | |
- "1.19" | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: set up go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.50 | |
args: --timeout 5m | |
- name: install gotestsum | |
run: go install gotest.tools/gotestsum@latest | |
- name: tests | |
run: make test |