Skip to content

Commit

Permalink
chore: added vendoring + refactor ci
Browse files Browse the repository at this point in the history
  • Loading branch information
c-seeger committed Mar 6, 2024
1 parent c8ed0f8 commit b9e6b34
Show file tree
Hide file tree
Showing 1,256 changed files with 606,551 additions and 176 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: '1.22.x'
- name: Install dependencies
run: |
apt-get install -y git
git clone https://github.com/magefile/mage
cd mage && go run bootstrap.go
cd ..
- name: Test
run: mage test

9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/TekWizely/pre-commit-golang
rev: v0.8.3 # update to v1 after release from beta
hooks:
- id: golangci-lint-mod
- id: go-sec-mod
- id: go-test-mod
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

68 changes: 39 additions & 29 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,49 +1,59 @@
module github.com/virtomize/mail2most

go 1.14
go 1.22

require (
github.com/BurntSushi/toml v0.3.1
github.com/BurntSushi/toml v1.3.2
github.com/Flaque/filet v0.0.0-20190209224823-fc4d33cfcf93
github.com/emersion/go-imap v1.2.1
github.com/emersion/go-message v0.18.0
github.com/k3a/html2text v1.2.1
github.com/magefile/mage v1.15.0
github.com/mattermost/mattermost-server v0.0.0-20190626111855-f21a8a370f89
github.com/mattn/godown v0.0.1
github.com/mholt/archiver v3.1.1+incompatible
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.1
golang.org/x/text v0.14.0
)

require (
github.com/blang/semver v3.5.1+incompatible // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dsnet/compress v0.0.1 // indirect
github.com/dyatlov/go-opengraph v0.0.0-20210112100619-dae8665a5b09 // indirect
github.com/emersion/go-imap v1.1.0
github.com/emersion/go-message v0.14.1
github.com/dyatlov/go-opengraph/opengraph v0.0.0-20220524092352-606d7b1e5f8a // indirect
github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43 // indirect
github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 // indirect
github.com/frankban/quicktest v1.13.0 // indirect
github.com/go-ldap/ldap v3.0.3+incompatible // indirect
github.com/golang/protobuf v1.3.2 // indirect
github.com/golang/snappy v0.0.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/uuid v1.2.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gopherjs/gopherjs v0.0.0-20191106031601-ce3c9ade29de // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/k3a/html2text v1.0.8
github.com/magefile/mage v1.11.0
github.com/gorilla/websocket v1.5.1 // indirect
github.com/mattermost/go-i18n v1.11.0 // indirect
github.com/mattermost/mattermost-server v0.0.0-20190626111855-f21a8a370f89
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mattn/godown v0.0.1
github.com/mholt/archiver v3.1.1+incompatible
github.com/nwaples/rardecode v1.1.0 // indirect
github.com/onsi/ginkgo v1.10.3 // indirect
github.com/onsi/gomega v1.7.1 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/nwaples/rardecode v1.1.3 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/pelletier/go-toml v1.9.1 // indirect
github.com/pierrec/lz4 v2.6.0+incompatible // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/sirupsen/logrus v1.8.1
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/smartystreets/assertions v1.0.1 // indirect
github.com/stretchr/testify v1.7.0
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.17.0 // indirect
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a // indirect
golang.org/x/net v0.0.0-20210525063256-abc453219eb5 // indirect
golang.org/x/sys v0.0.0-20210601080250-7ecdf8ef093b // indirect
golang.org/x/text v0.3.6
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/sys v0.18.0 // indirect
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace willnorris.com/go/imageproxy v0.8.1-0.20190326225038-d4246a08fdec => willnorris.com/go/imageproxy v0.8.1-0.20190422234945-d4246a08fdec
Loading

0 comments on commit b9e6b34

Please sign in to comment.