whatcanGOwrong

This commit is contained in:
2024-09-19 21:38:24 -04:00
commit d0ae4d841d
17908 changed files with 4096831 additions and 0 deletions
@@ -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
@@ -0,0 +1,2 @@
handleGHRelease: true
releaseType: go
@@ -0,0 +1,26 @@
---
name: apidiff
on:
pull_request:
branches:
- master
permissions:
contents: read
jobs:
compat:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.21
- run: go install golang.org/x/exp/cmd/apidiff@latest
- uses: actions/checkout@v3
with:
ref: master
- run: apidiff -w uuid.baseline .
- uses: actions/checkout@v3
with:
clean: false
- run: |
apidiff -incompatible uuid.baseline . > diff.txt
cat diff.txt && ! [ -s diff.txt ]
@@ -0,0 +1,20 @@
---
name: tests
on:
pull_request:
branches:
- master
permissions:
contents: read
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 ./...