2023-08-14 19:27:31 +00:00
|
|
|
name: Gitea Actions Test
|
|
|
|
run_name: ${{ gitea.actor }} is testing out Gitea Actions
|
2023-08-15 05:43:40 +00:00
|
|
|
|
2023-08-14 19:27:31 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
2023-08-15 06:10:33 +00:00
|
|
|
types: [opened, reopened, edited, review_requested, synchronize]
|
2023-08-15 05:43:40 +00:00
|
|
|
|
2023-08-14 19:27:31 +00:00
|
|
|
jobs:
|
2023-08-15 05:43:40 +00:00
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-08-15 05:55:05 +00:00
|
|
|
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
|
|
- run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
|
|
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
2023-08-15 05:43:40 +00:00
|
|
|
- name: Build
|
|
|
|
run: cargo build
|
|
|
|
- name: Run tests
|
|
|
|
run: cargo test
|