gittuf/.github/workflows/get-started-tests.yml
Pat Zielinski 11cb74e836 ci: Add go 1.24
Signed-off-by: Pat Zielinski <70954403+patzielinski@users.noreply.github.com>
2025-02-17 10:36:26 -05:00

39 lines
1 KiB
YAML

name: get-started-tests
on:
push:
branches: ['main']
paths-ignore:
- "docs/**"
- "!docs/testing/**"
- "!docs/get-started.md"
- "*.md"
pull_request:
paths-ignore:
- "docs/**"
- "!docs/testing/**"
- "!docs/get-started.md"
- "*.md"
permissions: read-all
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: ['1.23', '1.24']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Install Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Install Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38
with:
python-version: '3.10'
- name: Build gittuf
run: make just-install
- name: Test Getting Started
run: python3 docs/testing/test-get-started-md.py