Skip to content

Commit

Permalink
fix: update the version of some ci workflow and add configuration for…
Browse files Browse the repository at this point in the history
… spectral
  • Loading branch information
Eraxyso authored Jan 14, 2025
1 parent 916d8e4 commit c92364b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- uses: actions/cache@v3.3.2
- uses: actions/cache@v4.2.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-gomod-
- uses: actions/cache@v3.3.2
- uses: actions/cache@v4.2.0
with:
path: /tmp/go/cache
key: ${{ runner.os }}-go-build-${{ github.ref }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-go-build-${{ github.ref }}-
${{ runner.os }}-go-build-
- run: go build -o anke-to
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: anke-to
path: anke-to
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
with:
file: ./coverage.txt
yml: ./codecov.yml
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage.txt
path: coverage.txt
Expand Down
1 change: 1 addition & 0 deletions .spectral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends: ["spectral:{rulesetTagHere}"]

0 comments on commit c92364b

Please sign in to comment.