mirror of
https://github.com/vee1e/gittuf.git
synced 2026-09-03 11:17:08 +00:00
39 lines
1 KiB
YAML
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
|