Skip to content

Commit

Permalink
Github: Remove build action using Go < 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
UlrichEckhardt committed Oct 27, 2023
1 parent 5038689 commit 1026479
Showing 1 changed file with 0 additions and 175 deletions.
175 changes: 0 additions & 175 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1026479

Please sign in to comment.