Skip to content

refactor(all): rename SignedPayload to Transaction (#395) #1

refactor(all): rename SignedPayload to Transaction (#395)

refactor(all): rename SignedPayload to Transaction (#395) #1

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
jobs:
pr-lint:
name: PR Title Lint
if: github.event_name == 'pull_request'
permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
env:
GO_VERSION: 1.21.0
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Cache Golang Deps
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
/home/runner/go
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Make Lint
run: make lint