Rename workflows. (#90)

This commit is contained in:
kixelated 2023-10-13 11:02:43 +09:00 committed by GitHub
parent 7a779eb65c
commit 992e68affe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,5 @@
name: main
on: on:
push: push:
branches: ["main"] branches: ["main"]
@ -8,7 +10,7 @@ env:
SERVICE: api # Restart the API service TODO and relays SERVICE: api # Restart the API service TODO and relays
jobs: jobs:
build: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read

View File

@ -1,3 +1,5 @@
name: pr
on: on:
pull_request: pull_request:
branches: ["main"] branches: ["main"]
@ -6,7 +8,7 @@ env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
jobs: jobs:
check: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: