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 06:20:28 +00:00
|
|
|
- name: Install stable toolchain
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
|
|
|
override: true
|
|
|
|
|
2023-08-15 05:43:40 +00:00
|
|
|
- name: Build
|
2023-08-15 06:20:28 +00:00
|
|
|
uses: actions-rs/cargo@v1
|
2023-08-15 06:25:05 +00:00
|
|
|
with:
|
|
|
|
command: build
|
2023-08-15 06:20:28 +00:00
|
|
|
|
2023-08-15 05:43:40 +00:00
|
|
|
- name: Run tests
|
2023-08-15 06:20:28 +00:00
|
|
|
uses: actions-rs/cargo@v1
|
2023-08-15 06:25:05 +00:00
|
|
|
with:
|
|
|
|
command: test
|