Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
updated import path and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
benjivesterby committed Aug 8, 2021
1 parent 1ba616a commit aab3389
Show file tree
Hide file tree
Showing 10 changed files with 297 additions and 90 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/auto_merge_deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: auto-merge-deps

on:
pull_request_target:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: ahmadnassri/action-dependabot-auto-merge@v2.4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on: [push, pull_request]

jobs:
build:
name: "Build"
strategy:
matrix:
go-version: [1.15.x, 1.16.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: true
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2.3.4
- name: Install Go
uses: actions/setup-go@v2
with:
Expand All @@ -22,14 +22,18 @@ jobs:
- name: Build
run: go build ./...
test:
name: "Unit Tests"
needs: [build]
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: true
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-go@v2
- name: Checkout code
uses: actions/checkout@v2.3.4
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: Test
Expand All @@ -38,4 +42,4 @@ jobs:
uses: codecov/codecov-action@v2.0.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
file: ./coverage.txt
67 changes: 0 additions & 67 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

name: "Code Scanning - Action"

on:
push:
branches: main
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '30 1 * * 0'

jobs:
CodeQL-Build:
strategy:
matrix:
go-version: [1.16.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: true
runs-on: ${{ matrix.platform }}

steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2.3.4
- name: Build
run: go build ./...
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
69 changes: 69 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: "tagged-release"

on:
push:
tags:
- "v*"

jobs:
build:
name: "Build & Unit Tests"
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: true
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v2.3.4
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: Build
run: go build ./...
- name: Test
run: go test -v -race ./...
codeql:
name: "CodeQL Check"
needs: [build]
strategy:
matrix:
go-version: [1.16.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: true
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v2.3.4
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
release:
needs: [build, codeql]
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@v2.3.4
- name: Build changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@main
with:
configuration: 'release-config.json'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{steps.build_changelog.outputs.changelog}}
draft: false
prerelease: false
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Atomizer AMQP Conductor Implementation

[![CI](https://github.com/devnw/amqp/actions/workflows/build.yml/badge.svg)](https://github.com/devnw/amqp/actions)
[![Go Report Card](https://goreportcard.com/badge/atomizer.io/amqp)](https://goreportcard.com/report/atomizer.io/amqp)
[![Go Report Card](https://goreportcard.com/badge/go.atomizer.io/amqp)](https://goreportcard.com/report/go.atomizer.io/amqp)
[![codecov](https://codecov.io/gh/devnw/amqp/branch/main/graph/badge.svg)](https://codecov.io/gh/devnw/amqp)
[![Go Reference](https://pkg.go.dev/badge/atomizer.io/amqp.svg)](https://pkg.go.dev/atomizer.io/amqp)
[![Go Reference](https://pkg.go.dev/badge/go.atomizer.io/amqp.svg)](https://pkg.go.dev/go.atomizer.io/amqp)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)

Expand Down
2 changes: 1 addition & 1 deletion amqp.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"fmt"
"sync"

"atomizer.io/engine"
"github.com/google/uuid"
"github.com/streadway/amqp"
"go.atomizer.io/engine"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module atomizer.io/amqp
module go.atomizer.io/amqp

go 1.16

require (
atomizer.io/engine v1.0.4
github.com/google/uuid v1.2.0
github.com/google/uuid v1.3.0
github.com/streadway/amqp v1.0.0
go.atomizer.io/engine v1.0.5
)
23 changes: 10 additions & 13 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
atomizer.io/engine v1.0.3 h1:lPF9Re2HuhjSrVmDliI2sPivtcgwFR8rIxhaazQeAk8=
atomizer.io/engine v1.0.3/go.mod h1:IZX4SAOgqFmGhKDDHEHBZy7GW2Qzd1rk4XDHl2lDrfE=
atomizer.io/engine v1.0.4 h1:X5rc/Sv//HaTKMDo9taLETnOuRGSmpMy6mYg2TdjGVg=
atomizer.io/engine v1.0.4/go.mod h1:IZX4SAOgqFmGhKDDHEHBZy7GW2Qzd1rk4XDHl2lDrfE=
devnw.com/alog v1.0.6 h1:TI4kZ4ngOXeRPBJIoXclxKA9XuR9sdRDzXHEDW5bVfM=
devnw.com/alog v1.0.6/go.mod h1:beJR4S7HRbotF4/Syc4lbJtbCJwHcTKo9lz9J0KDBd8=
devnw.com/validator v1.0.4 h1:pSe5CoV9gPEjWDU0c0JUilY6m2+jCma8oI9HXYP2EYw=
devnw.com/validator v1.0.4/go.mod h1:Z9GH0cjDxgmcAvpAh74ZRkmoB9OIroKFGboNa+Q3L3g=
github.com/Pallinder/go-randomdata v1.2.0 h1:DZ41wBchNRb/0GfsePLiSwb0PHZmT67XY00lCDlaYPg=
github.com/Pallinder/go-randomdata v1.2.0/go.mod h1:yHmJgulpD2Nfrm0cR9tI/+oAgRqCQQixsA8HyRZfV9Y=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs=
github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw=
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/streadway/amqp v1.0.0 h1:kuuDrUJFZL1QYL9hUNuCxNObNzB0bV/ZG5jV3RWAQgo=
github.com/streadway/amqp v1.0.0/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
go.atomizer.io/engine v1.0.5 h1:5kbJBnkpHjjEa+N3l+O9RxcXfOFpW2fSuWh3+aCJGQ4=
go.atomizer.io/engine v1.0.5/go.mod h1:YB44dvsT4P3JB1T0VhhuAkVw26c8gtUVuubnnsSYvNI=
go.devnw.com/alog v1.1.1 h1:u+85qyAwvcm0t46brAI8/DNW1FhW+XV+2Xk9MCs621I=
go.devnw.com/alog v1.1.1/go.mod h1:+C3sYPkWZKet8XEvZ7DCcmEa30QQ4BRl67UcGLywOXc=
go.devnw.com/validator v1.0.8 h1:IUuu8o7WKZPf5WsiUWvdU7qwBZvWwKezpZQnXn2gX+k=
go.devnw.com/validator v1.0.8/go.mod h1:5kfqytQCBGTupXx1ZoIfV97qvKtsAi6lt2HfmvjWa6A=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Loading

0 comments on commit aab3389

Please sign in to comment.