1. 12 9月, 2021 8 次提交
  2. 11 9月, 2021 5 次提交
  3. 02 9月, 2021 1 次提交
  4. 24 6月, 2021 1 次提交
  5. 22 4月, 2021 1 次提交
  6. 20 4月, 2021 1 次提交
  7. 18 3月, 2021 2 次提交
  8. 12 3月, 2021 2 次提交
  9. 09 3月, 2021 4 次提交
  10. 19 2月, 2021 5 次提交
    • S
      CI: use GitHub Actions · cbd14ede
      Sebastiaan van Stijn 提交于
      Use GitHub actions to run golang-ci-lint, cross, and test.
      
      The "Test()" target in Mage was a plain "go test -v ./...", and should be
      portable to other CI systems if needed; running it through the mage file
      effectively resulted in "compile a go binary to run go".
      
      The "Lint()" target in Mage relied on Travis CI setting up Golang-CI lint
      before it was executed, which required bash. Moving it to GitHub actions
      also allowed it to be run on Windows. Golang CI can still be run locally
      either through the mage file (which is kept for now), or running
      `golangci-lint run ./...` after installing golangci-lint.
      
      The "CrossBuild() Mage target is still used to perform cross-compile, as it
      contains code to generate the GOOS/GOARCH matrix, which makes it easier
      to run locally.
      Signed-off-by: NSebastiaan van Stijn <github@gone.nl>
      cbd14ede
    • S
      go.mod: update golang.org/x/sys to fix openbsd/mips64 on Go 1.16 · bdb7d4c5
      Sebastiaan van Stijn 提交于
      This should hopefully fix cross-compile on openbsd/mips64 on Go 1.16
      
          Building for GOOS=openbsd GOARCH=mips64
          # golang.org/x/sys/unix
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/fcntl.go:26:42: undefined: Flock_t
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/ioctl.go:26:47: undefined: Winsize
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/ioctl.go:37:47: undefined: Termios
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/ioctl.go:55:42: undefined: Winsize
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/ioctl.go:61:42: undefined: Termios
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/syscall_openbsd.go:34:6: missing function body
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/syscall_unix_gc.go:12:6: missing function body
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/syscall_unix_gc.go:13:6: missing function body
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/syscall_unix_gc.go:14:6: missing function body
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/syscall_unix_gc.go:15:6: missing function body
          Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/ioctl.go:61:42: too many errors
      Signed-off-by: NSebastiaan van Stijn <github@gone.nl>
      bdb7d4c5
    • D
      Merge pull request #1238 from thaJeztah/move_mage · f104497f
      David Bariod 提交于
      CI: run mage with "-v" to not discard output, and move mage to a submodule
      f104497f
    • S
      move "mage" to a separate module · 1d8091a7
      Sebastiaan van Stijn 提交于
      Move the magefile related files to a submodule, so that it
      does not become a dependency for logrus itself.
      Signed-off-by: NSebastiaan van Stijn <github@gone.nl>
      1d8091a7
    • S
      travis: run mage with -v to not discard output · feebf74e
      Sebastiaan van Stijn 提交于
      Before this:
      
          $ go run mage.go lint
          Error: running "/Users/sebastiaan/go/bin/golangci-lint run ./..." failed with exit code 1
          exit status 1
      
          $ go run mage.go test
          Error: running "go test -race -v ./..." failed with exit code 1
          exit status 1
      
      After this:
      
          $ go run mage.go -v lint
          Running target: Lint
          exec: /Users/sebastiaan/go/bin/golangci-lint run ./...
          entry.go:89:6: `iamNotUsed` is unused (deadcode)
          func iamNotUsed() {
               ^
          Error: running "/Users/sebastiaan/go/bin/golangci-lint run ./..." failed with exit code 1
          exit status 1
      
          $ go run mage.go -v test
          Running target: Test
          exec: go test -race -v ./...
          === RUN   TestRegister
          ...
          ?   	github.com/sirupsen/logrus/internal/testutils	[no test files]
          FAIL
          Error: running "go test -race -v ./..." failed with exit code 1
          exit status 1
      Signed-off-by: NSebastiaan van Stijn <github@gone.nl>
      feebf74e
  11. 18 2月, 2021 3 次提交
  12. 17 2月, 2021 2 次提交
  13. 16 2月, 2021 4 次提交
  14. 14 2月, 2021 1 次提交