From 1026479555f441cc0313e838f056ed7a54ef33b7 Mon Sep 17 00:00:00 2001 From: Ulrich Eckhardt Date: Fri, 27 Oct 2023 21:47:48 +0200 Subject: [PATCH] Github: Remove build action using Go < 1.19 --- .github/workflows/go.yml | 175 --------------------------------------- 1 file changed, 175 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5cafb81..cb357ac 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,181 +2,6 @@ name: Go on: [push] jobs: - build-1_14: - name: Build with Go 1.14 - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.14 - uses: actions/setup-go@v1 - with: - go-version: 1.14 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - - - name: Build - run: go build -v . - - - name: Format - run: go fmt ./... && git diff --quiet - - - name: Lint - run: go vet ./... - - - name: Test - run: go test -v ./... - - - build-1_15: - name: Build with Go 1.15 - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.15 - uses: actions/setup-go@v1 - with: - go-version: 1.15 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - - - name: Build - run: go build -v . - - - name: Format - run: go fmt ./... && git diff --quiet - - - name: Lint - run: go vet ./... - - - name: Test - run: go test -v ./... - - - build-1_16: - name: Build with Go 1.16 - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.16 - uses: actions/setup-go@v1 - with: - go-version: 1.16 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - - - name: Build - run: go build -v . - - - name: Format - run: go fmt ./... && git diff --quiet - - - name: Lint - run: go vet ./... - - - name: Test - run: go test -v ./... - - - build-1_17: - name: Build with Go 1.17 - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.17 - uses: actions/setup-go@v1 - with: - go-version: 1.17 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - - - name: Build - run: go build -v . - - - name: Format - run: go fmt ./... && git diff --quiet - - - name: Lint - run: go vet ./... - - - name: Test - run: go test -v ./... - - - build-1_18: - name: Build with Go 1.18 - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.18 - uses: actions/setup-go@v1 - with: - go-version: 1.18 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - - - name: Build - run: go build -v . - - - name: Format - run: go fmt ./... && git diff --quiet - - - name: Lint - run: go vet ./... - - - name: Test - run: go test -v ./... - - build-1_19: name: Build with Go 1.19 runs-on: ubuntu-latest