Skip to content

Automated PR: Update GitHub Actions to v4 #39

Automated PR: Update GitHub Actions to v4

Automated PR: Update GitHub Actions to v4 #39

Workflow file for this run

name: Test
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: '1.21'
- name: Test
run: |
go test -tags ledger_mock
- name: Build
run: |
go build