Skip to content

Commit

Permalink
Github Action added: run example on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
JupiterRider committed Aug 13, 2024
1 parent fcfcd7b commit 251bf08
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/run_examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Run examples

on: [push, pull_request]

env:
CGO_ENABLED: 0

jobs:
run:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Run example
run: go run examples/simple/cos/main_unix.go

0 comments on commit 251bf08

Please sign in to comment.