Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed Feb 23, 2023
1 parent e13291a commit b48aefc
Show file tree
Hide file tree
Showing 18 changed files with 1,654 additions and 1,003 deletions.
572 changes: 572 additions & 0 deletions .github/images/banner-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
382 changes: 382 additions & 0 deletions .github/images/banner-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
55 changes: 55 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: PR

on:
pull_request:
branches:
- main

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.19"
- "1.20"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
- uses: golangci/golangci-lint-action@v3

test:
name: Test
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.19"
- "1.20"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
cache: true
- name: Test
run: make test

ci-pass:
name: CI Pass
needs:
- lint
- test
runs-on: ubuntu-latest
if: always()
steps:
- if: |
needs.lint.result != 'success' ||
needs.test.result != 'success'
run: exit 1
56 changes: 0 additions & 56 deletions .github/workflows/pr.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Push

on:
push:
branches:
- main

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.19"
- "1.20"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
- uses: golangci/golangci-lint-action@v3

test:
name: Test
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.19"
- "1.20"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
cache: true
- name: Test
run: make test
60 changes: 0 additions & 60 deletions .github/workflows/push.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
push:
tags:
- "v*"

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
check-latest: true
cache: true
go-version-file: go.mod
- uses: goreleaser/goreleaser-action@v4
with:
args: release
env:
GITHUB_TOKEN: ${{ github.token }}
33 changes: 0 additions & 33 deletions .github/workflows/release.yml

This file was deleted.

9 changes: 4 additions & 5 deletions .golangci.yml → .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ run:
- .github
- .vscode
- dist
build-tags:
- integration

linters:
disable-all: true
enable:
- bodyclose
- deadcode
- dogsled
- dupl
- errcheck
Expand All @@ -30,13 +27,11 @@ linters:
- prealloc
- revive
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace

linters-settings:
Expand All @@ -51,3 +46,7 @@ linters-settings:
allow-leading-space: false
require-explanation: true
require-specific: true
staticcheck:
checks:
- all
- "-SA1019"
8 changes: 2 additions & 6 deletions .goreleaser.yml → .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ snapshot:
name_template: "{{ .Tag }}-next"

changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
use: github-native

milestones:
- repo:
Expand All @@ -23,6 +19,6 @@ milestones:
release:
github:
owner: axiomhq
name: variance
name: axiom-go
prerelease: auto
name_template: "Variance v{{.Version}}"
40 changes: 0 additions & 40 deletions Contributing.md

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2021, Axiom, Inc.
Copyright (c) 2023, Axiom, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit b48aefc

Please sign in to comment.