forked from rykov/paperboy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched to GitHub Actions, Go 1.16, etc
- Loading branch information
Showing
6 changed files
with
500 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- | ||
name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
- | ||
name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
- name: Cache modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
- name: Download modules | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: go mod download | ||
- name: Run tests | ||
run: go test ./... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
module github.com/rykov/paperboy | ||
|
||
go 1.15 | ||
go 1.16 | ||
|
||
require ( | ||
github.com/PuerkitoBio/goquery v1.5.1 | ||
github.com/PuerkitoBio/goquery v1.7.1 | ||
github.com/bep/inflect v0.0.0-20160408190323-b896c45f5af9 | ||
github.com/cenkalti/backoff/v4 v4.0.2 | ||
github.com/charmbracelet/glamour v0.2.0 | ||
github.com/cenkalti/backoff/v4 v4.1.1 | ||
github.com/charmbracelet/glamour v0.3.0 | ||
github.com/chris-ramon/douceur v0.2.0 | ||
github.com/ghodss/yaml v1.0.0 | ||
github.com/go-gomail/gomail v0.0.0-20160411212932-81ebce5c23df | ||
github.com/go-test/deep v1.0.7 // indirect | ||
github.com/google/go-cmp v0.5.2 | ||
github.com/graph-gophers/graphql-go v0.0.0-20201003130358-c5bdf3b1108e | ||
github.com/jordan-wright/email v4.0.1-0.20200917010138-e1c00e156980+incompatible | ||
github.com/google/go-cmp v0.5.5 | ||
github.com/graph-gophers/graphql-go v1.1.0 | ||
github.com/jordan-wright/email v4.0.1-0.20210109023952-943e75fe5223+incompatible | ||
github.com/jtacoma/uritemplates v1.0.0 | ||
github.com/microcosm-cc/bluemonday v1.0.4 | ||
github.com/pelletier/go-toml v1.8.1 | ||
github.com/rs/cors v1.7.0 | ||
github.com/sirupsen/logrus v1.7.0 | ||
github.com/spf13/afero v1.4.1 | ||
github.com/microcosm-cc/bluemonday v1.0.15 | ||
github.com/pelletier/go-toml v1.9.3 | ||
github.com/rs/cors v1.8.0 | ||
github.com/sirupsen/logrus v1.8.1 | ||
github.com/spf13/afero v1.6.0 | ||
github.com/spf13/cast v1.3.1 | ||
github.com/spf13/cobra v1.0.0 | ||
github.com/spf13/viper v1.7.1 | ||
github.com/toorop/go-dkim v0.0.0-20200526084421-76378ae5207e | ||
github.com/yuin/goldmark v1.2.1 | ||
golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0 | ||
github.com/spf13/cobra v1.2.1 | ||
github.com/spf13/viper v1.8.1 | ||
github.com/toorop/go-dkim v0.0.0-20201103131630-e1cd1a0a5208 | ||
github.com/yuin/goldmark v1.4.0 | ||
golang.org/x/net v0.0.0-20210614182718-04defd469f4e | ||
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect | ||
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df // indirect | ||
gopkg.in/yaml.v2 v2.3.0 | ||
gopkg.in/yaml.v2 v2.4.0 | ||
) |
Oops, something went wrong.