diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..e15056b --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + authgear-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() }}