mirror of
https://github.com/vee1e/gittuf.git
synced 2026-09-03 19:27:07 +00:00
29 lines
686 B
YAML
29 lines
686 B
YAML
name: tests
|
|
on:
|
|
push:
|
|
branches: ['main']
|
|
paths-ignore:
|
|
- "docs/*"
|
|
- "**.md"
|
|
pull_request:
|
|
paths-ignore:
|
|
- "docs/*"
|
|
- "**.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: Test
|
|
run: go test -timeout 20m ./...
|