Skip to content

fix: ensure that affected entries are in order before comparing #505

fix: ensure that affected entries are in order before comparing

fix: ensure that affected entries are in order before comparing #505

Workflow file for this run

name: Checks
on:
pull_request:
push:
branches:
- main
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test-ubuntu:
name: Test on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache: true
- run: make test
test-macos:
name: Test on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache: true
- run: make test
test-windows:
name: Test on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache: true
- run: make test
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.47
go-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- run: make lint-with-go-fmt
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
- run: npx prettier --prose-wrap always --check .