Skip to content

Adjusted a bit how tests are configured #54

Adjusted a bit how tests are configured

Adjusted a bit how tests are configured #54

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
- develop
pull_request:
branches:
- "**"
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.24.x]
os: [ubuntu-latest]
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Check out code
uses: actions/checkout@v4
- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build & Run Stellar Tests
working-directory: .
run: |-
go build ./...
go test ./...