Skip to content

Bump github.com/spacemeshos/go-scale from 1.1.12 to 1.2.1 #23

Bump github.com/spacemeshos/go-scale from 1.1.12 to 1.2.1

Bump github.com/spacemeshos/go-scale from 1.1.12 to 1.2.1 #23

Workflow file for this run

name: CI
# Trigger the workflow on all pull requests, and on push to specific branches
on:
# run for all pull requests and pushes to certain branches
pull_request:
jobs:
## stage 0: check which files were changed
filter-changes:
runs-on: ubuntu-latest
outputs:
nondocchanges: ${{ steps.filter.outputs.nondoc }}
steps:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
with:
# this pattern matches using picomatch syntax (used by this third party Action), which is slightly
# different than GitHub syntax: it matches any file in any path ending in '.md'. this checks if
# any non-markdown files were changed.
filters: |
nondoc:
- '!**/*.md'
golangci:
name: lint
runs-on: ubuntu-latest
needs: filter-changes
if: ${{ needs.filter-changes.outputs.nondocchanges == 'true' }}
# should not take more than 4-6 mins
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.61.0
unittests:
runs-on: ubuntu-latest
needs: filter-changes
if: ${{ needs.filter-changes.outputs.nondocchanges == 'true' }}
# should take around 15-18 mins
timeout-minutes: 20
steps:
- name: checkout
uses: actions/checkout@v2
- name: set up go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: unit tests
run: make test-race