20 lines
618 B
YAML
20 lines
618 B
YAML
name: Gitea Actions Test
|
|
run_name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, edited, review_requested, synchronize]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- 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 }}."
|
|
- name: Build
|
|
run: cargo build
|
|
- name: Run tests
|
|
run: cargo test |