ci(workspace): use fully qualified github urls for actions
This commit is contained in:
parent
205f9cd0f7
commit
18a2644c44
|
|
@ -14,17 +14,17 @@ jobs:
|
||||||
name: Rust Check & Lint
|
name: Rust Check & Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: https://github.com/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
|
|
||||||
- name: Cache cargo artifacts
|
- name: Cache cargo artifacts
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: https://github.com/Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Install shader compiler
|
- name: Install shader compiler
|
||||||
run: sudo apt-get update && sudo apt-get install -y libshaderc-dev
|
run: sudo apt-get update && sudo apt-get install -y libshaderc-dev
|
||||||
|
|
@ -39,15 +39,15 @@ jobs:
|
||||||
name: Rust Tests
|
name: Rust Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: https://github.com/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- name: Cache cargo artifacts
|
- name: Cache cargo artifacts
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: https://github.com/Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Install shader compiler
|
- name: Install shader compiler
|
||||||
run: sudo apt-get update && sudo apt-get install -y libshaderc-dev
|
run: sudo apt-get update && sudo apt-get install -y libshaderc-dev
|
||||||
|
|
@ -59,10 +59,10 @@ jobs:
|
||||||
name: Lua Lint & Format
|
name: Lua Lint & Format
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: https://github.com/actions/checkout@v4
|
||||||
|
|
||||||
- name: Check Lua Formatting
|
- name: Check Lua Formatting
|
||||||
uses: JohnnyMorganz/stylua-action@v4
|
uses: https://github.com/JohnnyMorganz/stylua-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
version: latest
|
version: latest
|
||||||
|
|
@ -76,7 +76,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# Checkout without smudging LFS content so the committed git objects can be inspected directly; a raw-committed binary is only distinguishable from a proper pointer at the object level, not in a smudged working tree.
|
# Checkout without smudging LFS content so the committed git objects can be inspected directly; a raw-committed binary is only distinguishable from a proper pointer at the object level, not in a smudged working tree.
|
||||||
- uses: actions/checkout@v4
|
- uses: https://github.com/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: false
|
lfs: false
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: https://github.com/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# pull_request_target runs on the base branch; check out the base
|
# pull_request_target runs on the base branch; check out the base
|
||||||
# so the signatures file is from the canonical source.
|
# so the signatures file is from the canonical source.
|
||||||
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: CLA enforcement
|
- name: CLA enforcement
|
||||||
uses: actions/github-script@v7
|
uses: https://github.com/actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,11 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: https://github.com/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: https://github.com/softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue