Skip to content

Commit b055499

Browse files
committed
.github: remove arm vet
Slow (7min+) and obviously not completely comprehensive (see #286). In the long term, everybody will just be using 1.19 atomics.
1 parent d0c42ad commit b055499

File tree

1 file changed

+0
-85
lines changed

1 file changed

+0
-85
lines changed

.github/workflows/lint-and-test.yml

-85
Original file line numberDiff line numberDiff line change
@@ -27,88 +27,3 @@ jobs:
2727
- uses: golangci/golangci-lint-action@v3
2828
with:
2929
version: latest
30-
31-
vet-arm:
32-
if: github.repository == 'twmb/franz-go'
33-
needs: golangci
34-
runs-on: ubuntu-latest
35-
name: "vet on arm"
36-
steps:
37-
- uses: actions/checkout@v3
38-
with:
39-
path: "repo"
40-
- uses: uraimo/run-on-arch-action@v2
41-
with:
42-
arch: armv6
43-
distro: bullseye
44-
run: |
45-
echo "updating"
46-
apt-get -qq -y update
47-
echo "installing wget"
48-
apt-get -qq -y install wget
49-
echo "downloading go"
50-
wget --quiet https://go.dev/dl/go1.19.2.linux-armv6l.tar.gz
51-
tar xzf go1.19.2.linux-armv6l.tar.gz
52-
mkdir bins
53-
export PATH=$(pwd)/go/bin:$(pwd)/bins:$PATH
54-
export GOBIN=$(pwd)/bins
55-
export CGO_ENABLED=0
56-
cd repo
57-
echo "go vet ./..."
58-
go vet ./...
59-
echo "installing staticcheck"
60-
go install honnef.co/go/tools/cmd/staticcheck@latest
61-
echo "staticcheck ./..."
62-
staticcheck -checks 'all,-ST1003,-SA1012,-ST1016,-SA1019,-SA2001' ./... # actually contains atomicalign check
63-
64-
integration-test-kafka:
65-
if: github.repository == 'twmb/franz-go'
66-
needs: golangci
67-
runs-on: ubuntu-latest
68-
name: "integration test kafka"
69-
container: golang:1.19.2
70-
services:
71-
kafka:
72-
image: bitnami/kafka:latest
73-
ports:
74-
- 9092:9092
75-
env:
76-
KAFKA_ENABLE_KRAFT: yes
77-
KAFKA_CFG_PROCESS_ROLES: controller,broker
78-
KAFKA_CFG_CONTROLLER_LISTENER_NAMES: CONTROLLER
79-
KAFKA_CFG_LISTENERS: PLAINTEXT://:9092,CONTROLLER://:9093
80-
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
81-
KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: [email protected]:9093
82-
# Set this to "PLAINTEXT://127.0.0.1:9092" if you want to run this container on localhost via Docker
83-
KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
84-
KAFKA_CFG_BROKER_ID: 1
85-
ALLOW_PLAINTEXT_LISTENER: yes
86-
KAFKA_KRAFT_CLUSTER_ID: XkpGZQ27R3eTl3OdTm2LYA # 16 byte base64-encoded UUID
87-
steps:
88-
- uses: actions/checkout@v3
89-
- run: go test ./...
90-
env:
91-
KGO_TEST_RF: 1
92-
KGO_SEEDS: kafka:9092
93-
KGO_TEST_UNSAFE: true
94-
KGO_TEST_STABLE_FETCH: true
95-
96-
integration-test-redpanda:
97-
if: github.repository == 'twmb/franz-go'
98-
needs: golangci
99-
runs-on: ubuntu-latest
100-
name: "integration test redpanda"
101-
container: golang:1.19.2
102-
services:
103-
redpanda:
104-
image: vectorized/redpanda-nightly:latest
105-
ports:
106-
- 9092:9092
107-
env:
108-
REDPANDA_ADVERTISE_KAFKA_ADDRESS: redpanda:9092
109-
steps:
110-
- uses: actions/checkout@v3
111-
- run: go test ./...
112-
env:
113-
KGO_TEST_RF: 1
114-
KGO_SEEDS: redpanda:9092

0 commit comments

Comments
 (0)