Skip to content

Commit

Permalink
ci: don't bother with ${{ github.head_ref }}
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham committed Oct 20, 2023
1 parent 2dec6ad commit 1b3e723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -47,11 +45,9 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.TOOLCHAIN }}
components: rustfmt
- run: cargo fmt --all --check
- run: cargo fmt --all --check
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ jobs:
tag: "${{ github.event.inputs.tag }}"
body: "${{ needs.prep-release.outputs.release_body }}"
draft: true
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

0 comments on commit 1b3e723

Please sign in to comment.