Skip to content

chore: do not ping Discord /notifiers (#84) #370

chore: do not ping Discord /notifiers (#84)

chore: do not ping Discord /notifiers (#84) #370

Workflow file for this run

name: test
on: [push]
jobs:
go-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v2
with:
go-version: '1.21.3'
- run: go version
- run: go mod download
- run: go build cmd/missed-blocks-checker.go
go-vet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v2
with:
go-version: '1.21.3'
- run: go version
- run: go mod download
- run: go vet ./...
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout 300s
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.21.3'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run tests
run: go test -coverpkg=./... -coverprofile coverage.txt -v ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: QuokkaStake/missed-blocks-checker