diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 302c89f..4e70cc3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -47,7 +47,7 @@ jobs: with: command: build toolchain: ${{ matrix.rust }} - args: --release --target ${{ matrix.target }} + args: --locked --release --target ${{ matrix.target }} - name: Install gpg secret key run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2054532..ac5f88b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build + args: --locked --release - uses: actions-rs/cargo@v1 with: command: test diff --git a/.github/workflows/daily-compile.yml b/.github/workflows/daily-compile.yml deleted file mode 100644 index fe477dd..0000000 --- a/.github/workflows/daily-compile.yml +++ /dev/null @@ -1,61 +0,0 @@ -on: - schedule: - # ┌───────────── minute (0 - 59) - # │ ┌───────────── hour (0 - 23) - # │ │ ┌───────────── day of the month (1 - 31) - # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) - # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) - - cron: "0 15 * * *" - push: - branches: main - workflow_dispatch: - -name: Daily compile check - -jobs: - publish: - name: Compiling on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: - - macos-latest - - ubuntu-latest - # - windows-latest - rust: [stable] - include: - - os: macos-latest - artifact_prefix: macos - target: x86_64-apple-darwin - binary_postfix: "" - - os: ubuntu-latest - artifact_prefix: linux - target: x86_64-unknown-linux-gnu - binary_postfix: "" - # - os: windows-latest - # artifact_prefix: windows - # target: x86_64-pc-windows-msvc - # binary_postfix: ".exe" - - steps: - - name: Installing Rust toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - - name: Installing needed macOS dependencies - if: matrix.os == 'macos-latest' - run: brew install openssl@1.1 - - name: Installing needed Ubuntu dependencies - if: matrix.os == 'ubuntu-latest' - run: | - sudo apt-get update - sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev - - name: Checking out sources - uses: actions/checkout@v1 - - name: Running cargo build - uses: actions-rs/cargo@v1 - with: - command: build - toolchain: ${{ matrix.rust }} - args: --release --target ${{ matrix.target }}