Skip to content

Commit

Permalink
Merge pull request #2 from qinqon/add-gh-actions
Browse files Browse the repository at this point in the history
gh: Add action to force running it
  • Loading branch information
qinqon authored May 6, 2024
2 parents f065f81 + 8d76176 commit bc7f77f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install deps
run: |
#!/bin/bash -e
apt-get update
apt-get install -y make git curl gcc
- name: Install GH CLI
uses: dev-hanz-ops/[email protected]
with:
gh-cli-version: 2.32.0 # optional, see action.yml for current default
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions/setup-go@v5
with:
go-version-file: 'v2/go.mod'
- name: make generate
run: make generate
- name: make lint
run: make lint
- name: make test
run: make test

0 comments on commit bc7f77f

Please sign in to comment.