Skip to content

Merge pull request #347 from brave/renovate/copy-webpack-plugin-12.x #1408

Merge pull request #347 from brave/renovate/copy-webpack-plugin-12.x

Merge pull request #347 from brave/renovate/copy-webpack-plugin-12.x #1408

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: Tests
jobs:
test:
name: ${{matrix.rust}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
rust: [1.70.0, stable]
os: [ubuntu-20.04]
env:
RUSTFLAGS: ''
CARGO_PROFILE_DEV_DEBUG: '0' # reduce size of target directory
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Toolchain
run: rustup default ${{matrix.rust}}
- name: Cache
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- name: Build
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: build
args: --release --all-targets
- name: Test
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: test
args: --release