Skip to content

feat: support matchStandaloneSnapshot #292

feat: support matchStandaloneSnapshot

feat: support matchStandaloneSnapshot #292

Workflow file for this run

name: Go
on:
pull_request:
paths-ignore:
- "images/**"
- "**/*.md"
branches:
- main
push:
paths-ignore:
- "images/**"
- "**/*.md"
branches:
- main
jobs:
lint:
name: Run linting
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21.x
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: "latest"
args: -c ./golangci.yml
- name: Format lint
run: |
make install-tools && make format && git diff --quiet
test:
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.21.x
- name: Run Tests
run: make test