Skip to content

Smoke Test

Smoke Test #216

Workflow file for this run

name: Smoke Test
on:
pull_request:
push:
workflow_dispatch:
schedule:
- cron: 0 0 * * 0
defaults:
run:
shell: 'bash -Eeuo pipefail -x {0}'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
go:
name: Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: |
go build -o rawdns ./cmd/rawdns
go mod tidy
git diff --exit-code
dev:
name: Dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
docker build --pull .
test:
name: Cross
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
docker build --pull --file Dockerfile.cross .
prod:
name: Prod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
docker build --pull --file Dockerfile.production .