-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (33 loc) · 1.1 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: IRC notification
uses: Gottox/irc-message-action@v2
timeout-minutes: 1
continue-on-error: true
if: github.actor == 'robenkleene'
with:
channel: '#robenkleene-development'
nickname: bot-${{ github.run_id }}
message: |-
${{ github.event.repository.name }} ${{ github.job }} started ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}
- uses: actions/checkout@v3
- run: cargo test
- name: IRC notification
uses: Gottox/irc-message-action@v2
timeout-minutes: 1
continue-on-error: true
if: github.actor == 'robenkleene'
with:
channel: '#robenkleene-development'
nickname: bot-${{ github.run_id }}
message: |-
${{ github.event.repository.name }} ${{ github.job }} finished ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}