Skip to content

Commit

Permalink
Merge branch 'main' of github.com:foomo/keel into dependabot/go_modul…
Browse files Browse the repository at this point in the history
…es/github.com/nats-io/nats-server/v2-2.7.4
  • Loading branch information
franklinkim committed Jul 5, 2024
2 parents 5d806ea + 6fe685a commit dd087d5
Show file tree
Hide file tree
Showing 166 changed files with 4,010 additions and 3,119 deletions.
26 changes: 15 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: "weekly"
- package-ecosystem: "gomod"
directory: "/"
interval: weekly

- package-ecosystem: gomod
directory: '/'
schedule:
interval: "weekly"
interval: weekly
groups:
gomod-security:
applies-to: security-updates
patterns: ['*']
gomod-update:
applies-to: version-updates
patterns: ['*']
38 changes: 38 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: PR check

on:
push:
branches: [ main ]
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- uses: gotesttools/gotestfmt-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

- uses: golangci/golangci-lint-action@v6
with:
version: latest

- name: Run tests
run: make test

- uses: coverallsapp/github-action@v2
with:
file: coverage.out

44 changes: 0 additions & 44 deletions .github/workflows/pull-requests.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/releases.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release Tag

on:
push:
tags:
- v*.*.*
workflow_dispatch:

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Unshallow
run: git fetch --prune --unshallow

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71 changes: 9 additions & 62 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,64 +1,11 @@
# Created by https://www.toptal.com/developers/gitignore/api/jetbrains,go,visualstudiocode,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=jetbrains,go,visualstudiocode,macos

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Go ###
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
.*
*.log
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

### Go Patch ###
/vendor/
/Godeps/

### JetBrains ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
.idea/

### VisualStudioCode ###
.vscode/

# End of https://www.toptal.com/developers/gitignore/api/jetbrains,go,visualstudiocode,macos

!.github/
!.husky/
!.editorconfig
!.gitignore
!.golangci.yml
!.goreleaser.yml
!.husky.yaml
/tmp/
*.log
Loading

0 comments on commit dd087d5

Please sign in to comment.