Skip to content

Forward slashing events to the contract for processing #450

Forward slashing events to the contract for processing

Forward slashing events to the contract for processing #450

Workflow file for this run

name: Build and test
on:
pull_request:
branches:
- "**"
push:
branches:
- "main"
- "release/v[0-9]**"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}-build
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v4
with:
go-version: "^1.20"
- name: Display go version
run: go version
- name: Run all tests
run: make test-all
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/*.go
go.mod
go.sum
**/go.mod
**/go.sum
**/Makefile
Makefile
###################
#### Build App ####
###################
- name: Build demo app # to ensure everything compiles
if: env.GIT_DIFF
run: make build