Skip to content

Commit

Permalink
Run workflows on all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
piperswe committed Apr 8, 2022
1 parent 30bf087 commit 6e49107
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@

name: CI

on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 0 * * *"
on: [push]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -50,7 +44,7 @@ jobs:
args: --all -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ github.token }}
args: --all
name: Clippy

Expand All @@ -61,7 +55,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ github.token }}

reuse:
name: REUSE
Expand Down Expand Up @@ -98,7 +92,7 @@ jobs:
- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ github.token }}
publish_dir: ./target/doc
force_orphan: true
user_name: "github-actions[bot]"
Expand Down Expand Up @@ -134,7 +128,7 @@ jobs:
uses: actions-rs/[email protected]
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ github.token }}
path-to-lcov: ${{ steps.coverage.outputs.report }}

test:
Expand Down

0 comments on commit 6e49107

Please sign in to comment.