gittuf/.github/workflows/ci.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

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 ./...