1
0
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:
Noah Dietz
2023-08-16 17:00:26 -07:00
committed by GitHub
parent 44b5fee7c4
commit e3f8b98b39
4 changed files with 25 additions and 10 deletions

6
.github/CODEOWNERS vendored Normal file
View 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
View 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 ./...

View File

@@ -1,9 +0,0 @@
language: go
go:
- 1.4.3
- 1.5.3
- tip
script:
- go test -v ./...

View File

@@ -1,4 +1,4 @@
# uuid ![build status](https://travis-ci.org/google/uuid.svg?branch=master)
# uuid
The uuid package generates and inspects UUIDs based on
[RFC 4122](http://tools.ietf.org/html/rfc4122)
and DCE 1.1: Authentication and Security Services.