mirror of
https://github.com/google/uuid.git
synced 2025-11-06 08:59:16 +02:00
chore(ci): add Action-based tests (#121)
* chore(ci): add Action-based tests * fix go1.20 resolving to go1.2
This commit is contained in:
6
.github/CODEOWNERS
vendored
Normal file
6
.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
# Code owners file.
|
||||
# This file controls who is tagged for review for any given pull request.
|
||||
|
||||
# For syntax help see:
|
||||
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
|
||||
* @google/go-uuid-contributors
|
||||
18
.github/workflows/tests.yaml
vendored
Normal file
18
.github/workflows/tests.yaml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
name: tests
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
unit-tests:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.19, 1.20.x, 1.21]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- run: go test -v ./...
|
||||
@@ -1,9 +0,0 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.4.3
|
||||
- 1.5.3
|
||||
- tip
|
||||
|
||||
script:
|
||||
- go test -v ./...
|
||||
Reference in New Issue
Block a user