diff --git a/.github/workflows/rust-macos-latest b/.github/workflows/rust-macos-latest new file mode 100644 index 0000000..16ea974 --- /dev/null +++ b/.github/workflows/rust-macos-latest @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose diff --git a/.github/workflows/rust.yml b/.github/workflows/rust-ubuntu-latest.yml similarity index 72% rename from .github/workflows/rust.yml rename to .github/workflows/rust-ubuntu-latest.yml index 2bef732..000bb2c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust-ubuntu-latest.yml @@ -2,9 +2,9 @@ name: Rust on: push: - branches: [ "rust-lg" ] + branches: [ "master" ] pull_request: - branches: [ "rust-lg" ] + branches: [ "master" ] env: CARGO_TERM_COLOR: always @@ -15,9 +15,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose -