Skip to content

Commit

Permalink
chore(ci): add Action-based tests (#121)
Browse files Browse the repository at this point in the history
* chore(ci): add Action-based tests

* fix go1.20 resolving to go1.2
  • Loading branch information
noahdietz authored Aug 17, 2023
1 parent 44b5fee commit e3f8b98
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -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 changes: 18 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -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 ./...
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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](https://tools.ietf.org/html/rfc4122)
and DCE 1.1: Authentication and Security Services.
Expand Down

0 comments on commit e3f8b98

Please sign in to comment.