diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccb4e4f..c989e49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,32 +13,32 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@63eb9591781c46a70274cb3ebdf190fce92702e8 # v1 with: profile: minimal toolchain: stable override: true components: rustfmt, clippy, rust-docs - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@81d053bdb0871dcd3f10763c8cc60d0adc41762b # v1 - name: Run cargo fmt - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@e7f754b8e09f70ad8eb2c5aebf61e58e8403b210 # v1 with: command: fmt args: --all -- --check - name: Run cargo clippy - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@e7f754b8e09f70ad8eb2c5aebf61e58e8403b210 # v1 with: command: clippy args: --all-features --workspace --tests --examples -- -D clippy::all - name: Run cargo doc - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@e7f754b8e09f70ad8eb2c5aebf61e58e8403b210 # v1 env: RUSTDOCFLAGS: -Dwarnings with: @@ -57,19 +57,19 @@ jobs: steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - name: Install rust toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@63eb9591781c46a70274cb3ebdf190fce92702e8 # v1 with: profile: minimal toolchain: ${{ matrix.rust }} override: true - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@81d053bdb0871dcd3f10763c8cc60d0adc41762b # v1 - name: Run cargo test - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@e7f754b8e09f70ad8eb2c5aebf61e58e8403b210 # v1 env: RUSTFLAGS: -Dwarnings with: @@ -88,19 +88,19 @@ jobs: steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - name: Install rust toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@63eb9591781c46a70274cb3ebdf190fce92702e8 # v1 with: profile: minimal toolchain: ${{ matrix.rust }} override: true - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@81d053bdb0871dcd3f10763c8cc60d0adc41762b # v1 - name: Run cargo test - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@e7f754b8e09f70ad8eb2c5aebf61e58e8403b210 # v1 env: RUSTFLAGS: -Dwarnings with: @@ -112,16 +112,16 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - - uses: actions-rs/toolchain@v1 + - uses: actions-rs/toolchain@63eb9591781c46a70274cb3ebdf190fce92702e8 # v1 with: profile: minimal toolchain: stable components: llvm-tools-preview override: true - - uses: taiki-e/install-action@cargo-llvm-cov + - uses: taiki-e/install-action@21eb0b6228fa6252dafdd9c82e7516ad2328c775 # cargo-llvm-cov - run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f40b21e..638ed1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,12 +19,12 @@ jobs: with: app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }} private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }} - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 with: token: ${{ steps.token.outputs.token }} fetch-depth: 0 - name: Prepare release - uses: getsentry/action-prepare-release@v1 + uses: getsentry/action-prepare-release@c8e1c2009ab08259029170132c384f03c1064c0e # v1 env: GITHUB_TOKEN: ${{ steps.token.outputs.token }} with: