diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 2ebc9c8..e7de22a 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -40,7 +40,7 @@ jobs: env: public_url: "https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}" - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@v4.6.7 with: folder: crates/opensi-editor/dist # this option will not maintain any history of your previous pages deployment diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 726222b..9890f85 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,36 +9,36 @@ env: RUSTDOCFLAGS: -D warnings jobs: - check: - name: Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - uses: actions-rs/cargo@v1 - with: - command: check - args: --all-features - - check_wasm: - name: Check wasm32 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - target: wasm32-unknown-unknown - override: true - - uses: actions-rs/cargo@v1 - with: - command: check - args: --all-features --lib --target wasm32-unknown-unknown + # check: + # name: Check + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: actions-rs/toolchain@v1 + # with: + # profile: minimal + # toolchain: stable + # override: true + # - uses: actions-rs/cargo@v1 + # with: + # command: check + # args: --all-features + + # check_wasm: + # name: Check wasm32 + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: actions-rs/toolchain@v1 + # with: + # profile: minimal + # toolchain: stable + # target: wasm32-unknown-unknown + # override: true + # - uses: actions-rs/cargo@v1 + # with: + # command: check + # args: --all-features --lib --target wasm32-unknown-unknown test: name: Test Suite @@ -56,53 +56,53 @@ jobs: command: test args: --lib - fmt: - name: Rustfmt - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - components: rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - - clippy: - name: Clippy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - components: clippy - - uses: actions-rs/cargo@v1 - with: - command: clippy - args: -- -D warnings - - trunk: - name: trunk - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: 1.76.0 - target: wasm32-unknown-unknown - override: true - - name: Download and install Trunk binary - run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- - - name: Build - run: ./trunk build crates/opensi-editor/index.html + # fmt: + # name: Rustfmt + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: actions-rs/toolchain@v1 + # with: + # profile: minimal + # toolchain: stable + # override: true + # components: rustfmt + # - uses: actions-rs/cargo@v1 + # with: + # command: fmt + # args: --all -- --check + + # clippy: + # name: Clippy + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: actions-rs/toolchain@v1 + # with: + # profile: minimal + # toolchain: stable + # override: true + # components: clippy + # - uses: actions-rs/cargo@v1 + # with: + # command: clippy + # args: -- -D warnings + + # trunk: + # name: trunk + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: actions-rs/toolchain@v1 + # with: + # profile: minimal + # toolchain: 1.76.0 + # target: wasm32-unknown-unknown + # override: true + # - name: Download and install Trunk binary + # run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- + # - name: Build + # run: ./trunk build crates/opensi-editor/index.html build: runs-on: ${{ matrix.os }}