Skip to content

Commit

Permalink
Hopefully fix ci for the last time
Browse files Browse the repository at this point in the history
apparently when a workflow file is invalid, github shows no indication
at all on the PR, it only shows the error in github notifications
  • Loading branch information
jyn514 committed Jan 11, 2022
1 parent 348b230 commit f32bd14
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: CI

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

env:
RUSTFLAGS: -Dwarnings
Expand All @@ -23,8 +27,9 @@ jobs:
uses: actions/cache@v1
with:
key: immutable # this will always be hit because it's a constant
path: ~/.cargo/registry/cache
path: ~/.cargo/registry/index
path: |
~/.cargo/registry/cache
~/.cargo/registry/index
- name: Create lockfile
run: cargo generate-lockfile
- name: Fetch dependencies
Expand Down

0 comments on commit f32bd14

Please sign in to comment.