diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/pull_request_template.md | 4 | ||||
-rw-r--r-- | .github/workflows/go.yml | 10 | ||||
-rw-r--r-- | .github/workflows/lsif.yml | 5 |
3 files changed, 12 insertions, 7 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 1341028c..2d2aba7f 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -8,8 +8,8 @@ Link to the issue: <!-- paste the issue link here, or put "n/a" if not applicabl - [ ] I agree to follow the [Code of Conduct](https://go.dev/conduct) by submitting this pull request. - [ ] I have read and acknowledge the [Contributing guide](https://github.com/gogs/gogs/blob/main/.github/CONTRIBUTING.md). -- [ ] I have added test cases to cover the new code. +- [ ] I have added test cases to cover the new code or have provided the test plan. ## Test plan -If no test cases added, please provide your test plan here. +<!-- Please provide concrete but concise steps to proof things are working as stated, see an example in https://github.com/gogs/gogs/pull/7345 --> diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c09f622c..e008658b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -57,7 +57,7 @@ jobs: name: Test strategy: matrix: - go-version: [ 1.18.x, 1.19.x ] + go-version: [ 1.19.x, 1.20.x ] platform: [ ubuntu-latest, macos-latest ] runs-on: ${{ matrix.platform }} steps: @@ -97,7 +97,7 @@ jobs: name: Test strategy: matrix: - go-version: [ 1.18.x, 1.19.x ] + go-version: [ 1.19.x, 1.20.x ] platform: [ windows-latest ] runs-on: ${{ matrix.platform }} steps: @@ -135,7 +135,7 @@ jobs: name: Postgres strategy: matrix: - go-version: [ 1.18.x, 1.19.x ] + go-version: [ 1.19.x, 1.20.x ] platform: [ ubuntu-latest ] runs-on: ${{ matrix.platform }} services: @@ -171,7 +171,7 @@ jobs: name: MySQL strategy: matrix: - go-version: [ 1.18.x, 1.19.x ] + go-version: [ 1.19.x, 1.20.x ] platform: [ ubuntu-18.04 ] runs-on: ${{ matrix.platform }} steps: @@ -196,7 +196,7 @@ jobs: name: SQLite - Go strategy: matrix: - go-version: [ 1.18.x, 1.19.x ] + go-version: [ 1.19.x, 1.20.x ] platform: [ ubuntu-latest ] runs-on: ${{ matrix.platform }} steps: diff --git a/.github/workflows/lsif.yml b/.github/workflows/lsif.yml index c6463ee1..644f5c6c 100644 --- a/.github/workflows/lsif.yml +++ b/.github/workflows/lsif.yml @@ -21,6 +21,11 @@ jobs: uses: docker://sourcegraph/src-cli:latest with: args: lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} + - name: Upload LSIF data to S2 + continue-on-error: true + uses: docker://sourcegraph/src-cli:latest + with: + args: -endpoint=https://sourcegraph.sourcegraph.com lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} - name: Upload LSIF data to cs.unknwon.dev continue-on-error: true uses: docker://sourcegraph/src-cli:latest |