go: upgrade to Go 1.26 and modernize #61
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| pull_request: | |
| types: [opened, synchronize, ready_for_review] | |
| jobs: | |
| codenotify: | |
| runs-on: ubuntu-latest | |
| name: codenotify | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - uses: ./ # If you were using this in your project, this would be sourcegraph/codenotify@vX.Y.Z (check releases on GitHub for latest version number) | |
| env: | |
| # This token needs to have repo scope and read:org scope (to be able to mention teams). | |
| GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }} |