summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorjongwooo <han980817@gmail.com>2022-10-05 20:04:36 +0900
committerjongwooo <han980817@gmail.com>2022-10-05 20:39:45 +0900
commit0fb2b3d14353cc53b7473ae5fa3373969c295c1e (patch)
treebd699dcb2743b5e9d4680d4478c6049a5868bf21 /.github
parentdb05232d561725479615ac1c6482dd88745c19e4 (diff)
Resolve dependency-path not found error in workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7e2fbd8f2..99e5b0a75 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -17,11 +17,17 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
- name: Install Go
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
+ uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
+ check-latest: true
cache: true
+ cache-dependency-path: |
+ **/go.sum
+ **/go.mod
- name: Install Ruby
uses: actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526
with:
@@ -34,8 +40,6 @@ jobs:
run: go install github.com/magefile/mage@07afc7d24f4d6d6442305d49552f04fbda5ccb3e
- name: Install asciidoctor
uses: reitzig/actions-asciidoctor@7570212ae20b63653481675fb1ff62d1073632b0
- - name: Checkout code
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Install docutils
run: |
pip install docutils