From 1fffb77b452e5ef7debca57a7d9862191d24fbc8 Mon Sep 17 00:00:00 2001 From: Prashant V Date: Tue, 8 Oct 2024 22:08:48 -0700 Subject: [PATCH] Update github actions to latest Remove unused travis file --- .github/workflows/action.yaml | 6 +++--- .travis.yml | 21 --------------------- 2 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml index d3b4466..e9bcc77 100644 --- a/.github/workflows/action.yaml +++ b/.github/workflows/action.yaml @@ -8,9 +8,9 @@ jobs: go: ['1.22', '1.23'] name: Go ${{ matrix.go }} tests steps: - - uses: actions/checkout@v2 - - name: Setup Go - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - name: Setup Go ${{ matrix.go-version }} + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Run Tests diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 52f99ae..0000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -language: go -sudo: false - -go: - - 1.9.x - - 1.10.x - - 1.11.x - - 1.12.x - - 1.13.x - - tip - -before_install: - - go get github.com/axw/gocov/gocov - - go get github.com/mattn/goveralls - - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi -script: - - $HOME/gopath/bin/goveralls -service=travis-ci - -matrix: - allow_failures: - - go: tip