Skip to content

Update push-main.yml #2

Update push-main.yml

Update push-main.yml #2

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
jobs:
unit-tests:
name: Run unit tests
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
check-latest: true
cache: true
- name: Run Go tests
run: |
cd outputs
go test