Skip to content

Commit

Permalink
GitHub workflow attempt #4
Browse files Browse the repository at this point in the history
  • Loading branch information
dannymcgee committed May 10, 2024
1 parent 4a323e8 commit 45c8abe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ runs:
path: node_modules/
key: ${{ runner.os }}-setup-node-${{ hashFiles('**/package.json', '**/package-lock.json') }}
- name: Install node dependencies
shell: bash
run: npm ci
- name: Ensure unambiguous `main`
if: github.ref != 'refs/heads/main'
shell: bash
run: |
git remote set-branches origin main
git fetch --depth 1 origin main
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/setup-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ runs:
target/
key: ${{ runner.os }}-setup-rust-${{ hashFiles('**/Cargo.toml') }}
- name: Set default Rust toolchain
shell: bash
run: rustup default stable
- name: Verify Rust setup
shell: bash
run: rustup show

0 comments on commit 45c8abe

Please sign in to comment.