Files
ritmex-bot/docs/lighter/poseidon_crypto-main/.github/workflows/test.yml
T

32 lines
589 B
YAML

name: Tests
on:
pull_request: {}
push:
branches:
- main
jobs:
unit:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22.x', '1.23.x']
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: |
go get ./...
- name: Run tests
run: go test ./...