Skip to content

Bump nhooyr.io/websocket from 1.8.7 to 1.8.10 #285

Bump nhooyr.io/websocket from 1.8.7 to 1.8.10

Bump nhooyr.io/websocket from 1.8.7 to 1.8.10 #285

Workflow file for this run

---
name: Test Container Builds
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
hadolint:
name: Hadolint (Dockerfiles)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: hadolint/[email protected]
name: pw_discord_bot
with:
dockerfile: docker/pw_discord_bot/Dockerfile
ignore: [DL3007, DL3059]

Check failure on line 21 in .github/workflows/on_pr.yml

View workflow run for this annotation

GitHub Actions / Test Container Builds

Invalid workflow file

The workflow is not valid. .github/workflows/on_pr.yml (Line: 21, Col: 19): A sequence was not expected .github/workflows/on_pr.yml (Line: 27, Col: 19): A sequence was not expected
format: tty
- uses: hadolint/[email protected]
name: pw_atc_api
with:
dockerfile: docker/pw_atc_api/Dockerfile
ignore: [DL3007, DL3059]
format: tty
- uses: hadolint/[email protected]
name: pw_ingest
with:
dockerfile: docker/pw_ingest/Dockerfile
ignore: [DL3007, DL3059]
format: tty
- uses: hadolint/[email protected]
name: pw_router
with:
dockerfile: docker/pw_router/Dockerfile
ignore: [DL3007, DL3059]
format: tty
- uses: hadolint/[email protected]
name: pw_ws_broker
with:
dockerfile: docker/pw_ws_broker/Dockerfile
ignore: [DL3007, DL3059]
format: tty
gochecks:
name: Go Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.18'
check-latest: true
- name: go vet
run: go vet -v ./...
- name: go test
run: go test -v ./...
- name: go test (with race detection)
run: go test -v -race ./...
test_build:
name: Test Build
runs-on: ubuntu-latest
needs: [hadolint, gochecks]
strategy:
matrix:
image:
- pw_discord_bot
- pw_atc_api
- pw_ingest
- pw_router
- pw_ws_broker
arch:
- linux/amd64
- linux/arm64
steps:
# Check out our code
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# Get metadata from repo
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}
# Set up QEMU for multi-arch builds
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
# Set up buildx for multi platform builds
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
# Test Build
- name: Test Build - ${{ matrix.image }}
uses: docker/build-push-action@v2
with:
context: .
file: docker/${{ matrix.image }}/Dockerfile
no-cache: true
platforms: ${{ matrix.arch }}
push: false
tags: test_${{ matrix.image }}_${{ matrix.arch }}
labels: ${{ steps.meta.outputs.labels }}