Skip to content

Merge pull request #8 from actions-ext/dependabot/github_actions/setu… #36

Merge pull request #8 from actions-ext/dependabot/github_actions/setu…

Merge pull request #8 from actions-ext/dependabot/github_actions/setu… #36

Workflow file for this run

name: Build Status
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
checks: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Prework
run: |
printf '[package]\nname = "rust"\nversion = "0.1.0"\nedition = "2021"\n[dependencies]\n' > Cargo.toml
mkdir -p src
printf 'fn main() {\n println!("Hello, world!");\n}\n' > src/main.rs
- name: Setup Rust
uses: ./setup
- name: Install
run: cargo build