diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 39559da1..969a03fb 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -5,12 +5,7 @@ on: jobs: format: - strategy: - matrix: - os: - # - ubuntu-18.04 - - macos-10.15 - runs-on: ${{ matrix.os }} + runs-on: macos-13 steps: - name: Checkout code uses: actions/checkout@v2 @@ -25,7 +20,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.58.1 override: true components: rustfmt, clippy diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 28c26ff5..cd3b0e15 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -5,12 +5,7 @@ on: jobs: lint: - strategy: - matrix: - os: - # - ubuntu-latest - - macos-latest - runs-on: ${{ matrix.os }} + runs-on: macos-13 steps: - name: Checkout code and submodule uses: actions/checkout@v2 @@ -25,7 +20,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.58.1 override: true components: rustfmt, clippy diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9e3dfa80..5a8f7338 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,12 +5,7 @@ on: jobs: test: - strategy: - matrix: - os: - # - ubuntu-latest - - macos-latest - runs-on: ${{ matrix.os }} + runs-on: macos-13 steps: - name: Checkout code and submodule uses: actions/checkout@v2 @@ -25,8 +20,9 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.58.1 override: true + components: rustfmt, clippy - name: Run cargo test run: cargo test --release --all-features diff --git a/Dockerfile b/Dockerfile index caf53edf..e147ddbe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:experimental -FROM rust:latest as builder +FROM rust:1.58.1-bullseye as builder RUN set -ex \ && apt-get update \