mirror of
https://code.forgejo.org/actions/checkout.git
synced 2026-03-28 16:03:07 +00:00
Merge 7a020261fa into 0c366fd6a8
This commit is contained in:
commit
98a3e485fe
1 changed files with 23 additions and 0 deletions
23
pr.yaml
Normal file
23
pr.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
# This workflow will execute on pull request to dev branch
|
||||||
|
|
||||||
|
name: pr-workflow
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: get the code
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
- name: compile the code
|
||||||
|
run: mvn compile
|
||||||
|
- name: test the code
|
||||||
|
run: mvn test
|
||||||
|
- name: create the package
|
||||||
|
run: mvn package
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue