TP-c01_ci-cd: changed triggers, add step #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Start pinspire CI | |
on: | |
workflow_dispatch: {} | |
push: {} | |
pull_request: | |
types: [opened, edited, reopened] | |
branches: [main, dev4] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get repository code | |
uses: actions/checkout@v4 | |
- name: Test application | |
continue-on-error: true | |
run: go test ./... | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get repository code | |
uses: actions/checkout@v4 | |
- name: Lint application | |
run: make lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get repository code | |
uses: actions/checkout@v4 | |
- name: Build application | |
run: make build_all |