Skip to content

Commit 1a1b8c6

Browse files
committed
update .gitignore
1 parent 9000563 commit 1a1b8c6

File tree

6 files changed

+16
-6
lines changed

6 files changed

+16
-6
lines changed

.actrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Bind working directory instead of copying (faster for development)
1111
--bind
1212

13-
# Cache action downloads for faster subsequent runs
14-
--action-cache-path ~/.cache/act
13+
# Don't reuse actions to avoid caching issues
14+
--action-offline-mode=false
1515

1616
# Set default actor name
1717
--actor nektos/act

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
instruction.md
2-
target/
2+
target/
3+
4+
~/

scripts/test-workflows.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,18 @@ run_job() {
5050
local description="$2"
5151

5252
print_status "Testing: $description"
53-
echo "Command: act push --job $job_name --container-architecture linux/amd64"
53+
echo "Command: act push --job $job_name"
5454
echo ""
5555

56-
if act push --job "$job_name" --container-architecture linux/amd64; then
56+
# Try running the job
57+
if act push --job "$job_name"; then
5758
print_success "$description completed successfully!"
5859
else
59-
print_error "$description failed!"
60+
print_warning "$description failed with act. This might be due to action caching issues."
61+
print_status "Common solutions:"
62+
echo " 1. Clear act cache: rm -rf ~/.cache/act"
63+
echo " 2. Use GitHub Actions directly for full testing"
64+
echo " 3. Use act with --action-offline-mode flag"
6065
return 1
6166
fi
6267
echo ""

~/.cache/act/Swatinem-rust-cache@v2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 9d47c6ad4b02e050fd481d890b2ea34778fd09d6
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 4305c38b25d97ef35a8ad1f985ccf2d2242004f2

0 commit comments

Comments
 (0)