diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 05f15b3..4c54917 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -7,6 +7,13 @@ on: jobs: lint: name: Lint + permissions: + # Required: allow read access to the content for analysis. + contents: read + # Optional: allow read access to pull request. Use with `only-new-issues` option. + pull-requests: read + # Optional: Allow write access to checks to allow the action to annotate code in the PR. + checks: write env: RUNNER_TOOL_CACHE: /toolcache runs-on: ubuntu-latest @@ -108,7 +115,7 @@ jobs: GOARCH: amd64 EXE: .exe CGO_ENABLED: 1 - CC: x86_64-w64-mingw64-gcc + CC: x86_64-w64-mingw32-gcc - name: Upload artifact uses: actions/upload-artifact@v3