Skip to content

Commit

Permalink
rename master to main and adjust ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hellow554 committed Sep 24, 2023
1 parent 66d6727 commit 2f7a231
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -2,8 +2,9 @@ name: Rust

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ main ]
schedule: [ cron: "30 6 1 * *" ]

env:
Expand All @@ -15,9 +16,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Check
run: cargo check --all-features
- name: Clippy
run: cargo clippy --all-features
- name: Fmt
run: cargo fmt --check --quiet
- name: Build
run: cargo build --no-default-features --verbose
- name: Run tests
Expand Down

0 comments on commit 2f7a231

Please sign in to comment.