master -> main

This commit is contained in:
Jonathan Kelley committed 2024-02-21 16:15:19 -08:00
1 parent 0c5c9eafe5
commit 380f1429ae
2 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ name: Deploy Nightly Docs
on: on:
push: push:
branches: branches:
- master - main
jobs: jobs:
deploy: deploy:
@@ -21,7 +21,7 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
cache-all-crates: "true" cache-all-crates: "true"
save-if: ${{ github.ref == 'refs/heads/master' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: ilammy/setup-nasm@v1 - uses: ilammy/setup-nasm@v1
- name: cargo doc - name: cargo doc
+8 -8
View File
@@ -3,7 +3,7 @@ name: Rust CI
on: on:
push: push:
branches: branches:
- master - main
paths: paths:
- packages/** - packages/**
- examples/** - examples/**
@@ -17,7 +17,7 @@ on:
pull_request: pull_request:
types: [opened, synchronize, reopened, ready_for_review] types: [opened, synchronize, reopened, ready_for_review]
branches: branches:
- master - main
paths: paths:
- packages/** - packages/**
- examples/** - examples/**
@@ -48,7 +48,7 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
cache-all-crates: "true" cache-all-crates: "true"
save-if: ${{ github.ref == 'refs/heads/master' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: ilammy/setup-nasm@v1 - uses: ilammy/setup-nasm@v1
- run: cargo check --all --examples --tests --all-features --all-targets - run: cargo check --all --examples --tests --all-features --all-targets
@@ -64,7 +64,7 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
cache-all-crates: "true" cache-all-crates: "true"
save-if: ${{ github.ref == 'refs/heads/master' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: ilammy/setup-nasm@v1 - uses: ilammy/setup-nasm@v1
- uses: davidB/rust-cargo-make@v1 - uses: davidB/rust-cargo-make@v1
- uses: browser-actions/setup-firefox@latest - uses: browser-actions/setup-firefox@latest
@@ -91,7 +91,7 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
cache-all-crates: "true" cache-all-crates: "true"
save-if: ${{ github.ref == 'refs/heads/master' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo fmt --all -- --check - run: cargo fmt --all -- --check
clippy: clippy:
@@ -109,7 +109,7 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
cache-all-crates: "true" cache-all-crates: "true"
save-if: ${{ github.ref == 'refs/heads/master' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo clippy --workspace --examples --tests --all-features --all-targets -- -D warnings - run: cargo clippy --workspace --examples --tests --all-features --all-targets -- -D warnings
playwright: playwright:
@@ -137,7 +137,7 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
cache-all-crates: "true" cache-all-crates: "true"
save-if: ${{ github.ref == 'refs/heads/master' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
@@ -230,7 +230,7 @@ jobs:
with: with:
key: "${{ matrix.platform.target }}" key: "${{ matrix.platform.target }}"
cache-all-crates: "true" cache-all-crates: "true"
save-if: ${{ github.ref == 'refs/heads/master' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- name: test - name: test
run: | run: |