drop go1.18 (#1557)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com> Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
This commit is contained in:
Родитель
069fba2494
Коммит
2a46b2be6a
|
@ -8,46 +8,6 @@ on:
|
|||
- synchronize
|
||||
- ready_for_review
|
||||
jobs:
|
||||
crdgen:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ['1.18']
|
||||
os: [ubuntu-latest]
|
||||
name: CRDs are Generated
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Regenerate NodeNetworkConfig CRD
|
||||
run: make -C crd/nodenetworkconfig
|
||||
- name: Regenerate MultitenantNetworkContainer CRD
|
||||
run: make -C crd/multitenantnetworkcontainer
|
||||
- name: Fail if the tree is dirty
|
||||
run: test -z "$(git status --porcelain)"
|
||||
crdgen118:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ['1.18']
|
||||
os: [ubuntu-latest]
|
||||
name: CRDs are Generated
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Regenerate NodeNetworkConfig CRD
|
||||
run: make -C crd/nodenetworkconfig
|
||||
- name: Regenerate MultitenantNetworkContainer CRD
|
||||
run: make -C crd/multitenantnetworkcontainer
|
||||
- name: Fail if the tree is dirty
|
||||
run: test -z "$(git status --porcelain)"
|
||||
crdgen119:
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
@ -8,48 +8,6 @@ on:
|
|||
- synchronize
|
||||
- ready_for_review
|
||||
jobs:
|
||||
golangci:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version: [1.18.x]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
name: Lint
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.48.0
|
||||
args: --timeout=10m
|
||||
only-new-issues: true
|
||||
golangci118:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version: [1.18.x]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
name: Lint
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.48.0
|
||||
args: --timeout=10m
|
||||
only-new-issues: true
|
||||
golangci119:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
|
@ -11,7 +11,7 @@ RUN echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" | sudo tee -a
|
|||
RUN echo "deb http://archive.ubuntu.com/ubuntu/ bionic universe" | sudo tee -a /etc/apt/sources.list
|
||||
RUN echo "deb http://archive.ubuntu.com/ubuntu/ bionic main" | sudo tee -a /etc/apt/sources.list
|
||||
RUN apt-get update && apt-get install -y iptables ipset iproute2 ebtables
|
||||
RUN wget -qO- https://golang.org/dl/go1.18.linux-amd64.tar.gz | tar zxf - -C /usr/lib/
|
||||
RUN wget -qO- https://golang.org/dl/go1.19.linux-amd64.tar.gz | tar zxf - -C /usr/lib/
|
||||
ENV PATH="/usr/lib/go/bin/:${PATH}"
|
||||
ENV GOROOT="/usr/lib/go"
|
||||
ENV GOPATH="/root/go"
|
||||
|
|
Загрузка…
Ссылка в новой задаче