Skip to content

Commit

Permalink
switch rust.yml workflow branches to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Czajka committed Sep 11, 2023
1 parent b4fabbc commit 4aef5c8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ name: Rust

on:
push:
branches: [ "master" ]
branches: ["main"]
pull_request:
branches: [ "master" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit 4aef5c8

Please sign in to comment.