diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5cdc86f..b763248 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] # allow manual execution from the web interface workflow_dispatch: @@ -14,13 +14,14 @@ jobs: strategy: matrix: os: ['ubuntu-20.04', 'ubuntu-22.04'] + toolchain: ['oldstable', 'stable'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 # respository path: $GITHUB_WORKSPACE - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: ${{ matrix.toolchain }} - name: Install golint run: go install golang.org/x/lint/golint@latest