Skip to content

Commit

Permalink
Add github action for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chankiyu22 committed Sep 4, 2024
1 parent 88907df commit df0844f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: "./go.mod"
runs-on: ubuntu-24.04
- run: make vendor
- run: make check-dockerignore
if: ${{ !cancelled() }}
- run: make govulncheck
if: ${{ !cancelled() }}
- run: make lint
if: ${{ !cancelled() }}
- run: make test
if: ${{ !cancelled() }}
- run: make fmt
if: ${{ !cancelled() }}
- run: make check-tidy
if: ${{ !cancelled() }}

0 comments on commit df0844f

Please sign in to comment.