Skip to content

Commit

Permalink
Merge pull request #342 from JohnTitor/gha-checkout
Browse files Browse the repository at this point in the history
gha: Specify tag instead of branch on actions/checkout
  • Loading branch information
joshtriplett committed Apr 28, 2023
2 parents 914559b + 0f55af1 commit 13b4bc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
os: windows-2022
rust: stable-x86_64-gnu
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- name: Install Rust (rustup)
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
shell: bash
Expand All @@ -49,7 +49,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable && rustup default stable && rustup component add rustfmt
- run: cargo fmt -- --check
Expand All @@ -61,7 +61,7 @@ jobs:
matrix:
target: [wasm32-unknown-unknown, wasm32-wasi]
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable && rustup default stable && rustup target add ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }}

0 comments on commit 13b4bc0

Please sign in to comment.