From 874311149a3fb9fd5756cc5c03bfc1de6646154d Mon Sep 17 00:00:00 2001 From: lisa-sigsci Date: Fri, 28 May 2021 13:45:22 -0700 Subject: [PATCH 1/3] Removed branch name change notice & added github action badge --- README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/README.md b/README.md index 9a5cbe4..35cd7bb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # tlstext -[![Build Status](https://travis-ci.org/signalsciences/tlstext.svg?branch=main)](https://travis-ci.org/signalsciences/tlstext) [![Go Report Card](http://goreportcard.com/badge/signalsciences/tlstext)](http://goreportcard.com/report/signalsciences/tlstext) [![GoDoc](https://godoc.org/github.com/signalsciences/tlstext?status.svg)](https://godoc.org/github.com/signalsciences/tlstext) [![Coverage](http://gocover.io/_badge/github.com/signalsciences/tlstext)](http://gocover.io/github.com/signalsciences/tlstext) [![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://raw.githubusercontent.com/signalsciences/tlstext/main/LICENSE) +[![Actions Status](https://github.com/signalsciences/tlstext/workflows/lint/badge.svg)](https://github.com/signalsciences/tlstext/actions) [![Go Report Card](http://goreportcard.com/badge/signalsciences/tlstext)](http://goreportcard.com/report/signalsciences/tlstext) [![GoDoc](https://godoc.org/github.com/signalsciences/tlstext?status.svg)](https://godoc.org/github.com/signalsciences/tlstext) [![Coverage](http://gocover.io/_badge/github.com/signalsciences/tlstext)](http://gocover.io/github.com/signalsciences/tlstext) [![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://raw.githubusercontent.com/signalsciences/tlstext/main/LICENSE) simple mapping of TLS Versions and Cipher Suites to strings @@ -20,14 +20,6 @@ since they are dependent on the version of Go used. The values are generated directly from the [IANA assignments](http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-4) -## :rotating_light: NOTICE :rotating_light: - -Effective **May 17th 2021** the default branch will change from `master` to `main`. Run the following commands to update a local clone: -``` -git branch -m master main -git fetch origin -git branch -u origin/main main -git remote set-head origin -a ``` ## Examples From 5be64482e7e5887316b22a2e9e843d658b02fc8c Mon Sep 17 00:00:00 2001 From: lisa-sigsci Date: Fri, 28 May 2021 13:49:46 -0700 Subject: [PATCH 2/3] Added action lint.yml --- .github/workflows/lint.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..27e6074 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,32 @@ +name: lint +on: + push: + pull_request: + +jobs: + + build: + name: Build + runs-on: ubuntu-latest + strategy: + matrix: + govers: [ 1.14, 1.16 ] + steps: + + - name: Set up Go version + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.govers }} + id: go + + - name: golint + run: | + go get -u golang.org/x/lint/golint + + - name: Check out code into the Go module directory + uses: actions/checkout@v1 + + - name: Build + run: | + export PATH=$PATH:$(go env GOPATH)/bin + GOBIN=$PWD/bin make ci \ No newline at end of file From 796606ee2e5e3b02222e38978072c01defd25234 Mon Sep 17 00:00:00 2001 From: lisa-sigsci Date: Fri, 28 May 2021 13:50:08 -0700 Subject: [PATCH 3/3] Removed .travis.yml --- .travis.yml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9313e11..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -sudo: false -dist: trusty -language: go -go: - - "1.11.1" -git: - depth: 1 -script: - - go get -u golang.org/x/lint/golint - - make ci