Skip to content

update repository link of mackerel-plugin-dice #21

update repository link of mackerel-plugin-dice

update repository link of mackerel-plugin-dice #21

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy
- name: Test
run: cargo test
example:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Test README.md example
run: |
sed -n '/```rust/,/```/{//!p;}' README.md > src/main.rs
sed -i '/^\[dependencies\]$/arand = "0"' Cargo.toml
cargo run