Skip to content

[SERV-1159] Update README with updated ptcp spec and pt:// prefix #39

[SERV-1159] Update README with updated ptcp spec and pt:// prefix

[SERV-1159] Update README with updated ptcp spec and pt:// prefix #39

Workflow file for this run

name: Tests
# Defines environmental variables
env:
GO_VERSION: '1.22.5'
on:
pull_request:
branches:
- main
jobs:
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# Setup Go
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: "${{ env.GO_VERSION }}"
- name: Go fmt
run: go fmt ./...
- name: Build and Run
run: |
go build -o pt-tools main.go
- name: Test
run: go test ./...