Skip to content

Bump github.com/google/uuid from 1.3.0 to 1.6.0 #327

Bump github.com/google/uuid from 1.3.0 to 1.6.0

Bump github.com/google/uuid from 1.3.0 to 1.6.0 #327

Workflow file for this run

# Checks are executed on each push
name: Checks
on: ["push"]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
# Instead of using our own CI, we uses https://golangci-lint.run/
# It combines 48 linters and execute them in parallel
- name: Lint with golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.59.1
args: --timeout 5m
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Cache go dependencies
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Execute tests
run: make test
shell: bash
- name: Export coverage
if: github.event == 'pull_request'
run: go tool cover -html=cover.out -o=coverage.html
- name: Upload artifacts
if: github.event == 'pull_request'
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage.html