Skip to content

Commit b0ac42c

Browse files
committed
Cleanup CI image
1 parent dbae769 commit b0ac42c

File tree

6 files changed

+7
-12
lines changed

6 files changed

+7
-12
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ on: [push]
44
jobs:
55
fmt:
66
runs-on: ubuntu-latest
7-
container: nhooyr/websocket-ci@sha256:ea94e078d2d589d654a2c759d952bf4199c754d80dadb20696dc3902359027cb
7+
container: nhooyr/websocket-ci@sha256:046cd02e79dcbf81dc06eb6fd333fa8643f2503f437ddd46a4c1af9132078a2c
88
steps:
99
- uses: actions/checkout@v1
1010
- run: make fmt
1111
lint:
1212
runs-on: ubuntu-latest
13-
container: nhooyr/websocket-ci@sha256:ea94e078d2d589d654a2c759d952bf4199c754d80dadb20696dc3902359027cb
13+
container: nhooyr/websocket-ci@sha256:046cd02e79dcbf81dc06eb6fd333fa8643f2503f437ddd46a4c1af9132078a2c
1414
steps:
1515
- uses: actions/checkout@v1
1616
- run: make lint
1717
test:
1818
runs-on: ubuntu-latest
19-
container: nhooyr/websocket-ci@sha256:ea94e078d2d589d654a2c759d952bf4199c754d80dadb20696dc3902359027cb
19+
container: nhooyr/websocket-ci@sha256:046cd02e79dcbf81dc06eb6fd333fa8643f2503f437ddd46a4c1af9132078a2c
2020
steps:
2121
- uses: actions/checkout@v1
2222
- run: make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ include ci/lint.mk
1313
include ci/test.mk
1414

1515
ci-image:
16-
docker build -f ./ci/image/Dockerfile -t nhooyr/websocket-ci .
16+
docker build -f ./ci/Dockerfile -t nhooyr/websocket-ci .
1717
docker push nhooyr/websocket-ci

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![GitHub Release](https://img.shields.io/github/v/release/nhooyr/websocket?color=6b9ded&sort=semver)](https://github.com/nhooyr/websocket/releases)
44
[![GoDoc](https://godoc.org/nhooyr.io/websocket?status.svg)](https://godoc.org/nhooyr.io/websocket)
5-
[![Codecov](https://img.shields.io/coveralls/github/nhooyr/websocket?color=65d6a4)](https://coveralls.io/github/nhooyr/websocket)
5+
[![Coveralls](https://img.shields.io/coveralls/github/nhooyr/websocket?color=65d6a4)](https://coveralls.io/github/nhooyr/websocket)
66
[![Actions Status](https://github.com/nhooyr/websocket/workflows/ci/badge.svg)](https://github.com/nhooyr/websocket/actions)
77

88
websocket is a minimal and idiomatic WebSocket library for Go.

ci/image/Dockerfile renamed to ci/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ ENV PAGER=cat
1111
ENV CI=true
1212
ENV MAKEFLAGS="--jobs=8 --output-sync=target"
1313

14-
COPY ./ci/image/gitignore /root/.config/git/ignore
15-
1614
RUN npm install -g prettier
1715
RUN go get golang.org/x/tools/cmd/stringer
1816
RUN go get golang.org/x/tools/cmd/goimports

ci/image/gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

ci/test.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ci/out/coverage.html: gotest
88

99
coveralls: gotest
1010
echo "--- coveralls"
11+
export GIT_BRANCH=$${GITHUB_REF}
12+
export BUILD_NUMBER=$${GITHUB_ACTION}
1113
goveralls -coverprofile=ci/out/coverage.prof -service=github-actions
1214

1315
gotest:

0 commit comments

Comments
 (0)