diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6f224826..d91cc0e2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,13 +35,13 @@ 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 }} @@ -49,7 +49,7 @@ jobs: ${{ 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 @@ -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 diff --git a/.spectral.yml b/.spectral.yml new file mode 100644 index 00000000..a3a785fc --- /dev/null +++ b/.spectral.yml @@ -0,0 +1 @@ +extends: ["spectral:{rulesetTagHere}"] \ No newline at end of file