Skip to content

Commit

Permalink
chore: add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Aug 20, 2024
1 parent 0f78875 commit 8e75cd1
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test

on:
push:
branches: [main]
pull_request:

jobs:
release-check:
name: Check release
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod

- name: Compile Protobuf
run: make proto-gen

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: GoReleaser Cross
run: make release-dryrun-cross
env:
RELEASE: false
GITHUB_TOKEN: ""
- name: GoReleaser
run: make release-dryrun
env:
RELEASE: false
GITHUB_TOKEN: ""

0 comments on commit 8e75cd1

Please sign in to comment.