pubsub/azpubsub: Ensure 401s are not retryable #619
Workflow file for this run
This file contains 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
# Copyright 2021 The Go Cloud Development Kit Authors | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
name: tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
# Note: we used to include windows-latest, but it's super | |
# flaky on Github runners, lots of OOMs. | |
os: [ubuntu-latest, macos-latest] | |
# When updating this, make sure to also update the | |
# latest_go_version variable in internal/testing/runchecks.sh. | |
go-version: [1.21.x] | |
include: | |
- go-version: 1.20.x | |
os: ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 # required for codecov | |
- name: Run Tests | |
shell: bash | |
run: 'internal/testing/runchecks.sh' | |
- if: matrix.os == 'ubuntu-latest' | |
name: Build for dragonfly | |
run: | | |
go install ./... | |
env: | |
GOARCH: amd64 | |
GOOS: dragonfly |