-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chores/main-branch: Convert master to main branch as default (#34)
* chores/main-branch: Convert master to main branch as default * chores/main-branch: Install executable instead of git repo * chores/main-branch: Add git config * chores/main-branch: Use checkout v4
- Loading branch information
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,17 +14,20 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Git configurations | ||
run: | | ||
git config --global user.name "CI User" | ||
git config --global user.email "[email protected]" | ||
- name: Set up Git | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y git | ||
- name: Install Bats | ||
run: | | ||
git clone --depth=1 https://github.com/bats-core/bats-core.git /usr/local/bats | ||
/usr/local/bats/install.sh /usr/local | ||
run: sudo apt-get install bats | ||
|
||
- name: Run Bats tests | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters