2020-12-04 05:32:12 +00:00
|
|
|
---
|
|
|
|
name: go-test
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- '*'
|
2022-05-01 01:00:30 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-12-04 05:32:12 +00:00
|
|
|
jobs:
|
2024-08-13 06:59:40 +00:00
|
|
|
uncommitted-code-check:
|
|
|
|
name: uncommitted-code-check
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout the repo
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Check generated deploy code
|
|
|
|
run: make generate-deploy
|
|
|
|
|
|
|
|
- name: Check for uncommitted changes
|
|
|
|
run: make check-all-committed
|
|
|
|
|
|
|
|
- name: Show the uncommitted "git diff"
|
|
|
|
if: ${{ failure() }}
|
|
|
|
run: git diff ; false
|
2024-06-27 15:16:12 +00:00
|
|
|
e2e-build-test:
|
|
|
|
name: e2e-build-test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: e2e-build-test
|
|
|
|
run: make containerized-build TARGET=e2e.test
|
2020-12-04 05:32:12 +00:00
|
|
|
go-test:
|
|
|
|
name: go-test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-04 20:50:18 +00:00
|
|
|
- uses: actions/checkout@v4
|
2020-12-04 05:32:12 +00:00
|
|
|
- name: go-test
|
2023-08-07 11:30:36 +00:00
|
|
|
run: make containerized-test TARGET=go-test
|
2021-10-04 13:58:13 +00:00
|
|
|
go-test-api:
|
|
|
|
name: go-test-api
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-04 20:50:18 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-10-04 13:58:13 +00:00
|
|
|
- name: go-test-api
|
2023-08-07 11:30:36 +00:00
|
|
|
run: make containerized-test TARGET=go-test-api
|