setup-go/docs/adrs/0001-architecture.md
2022-08-10 11:02:49 +02:00

679 B

Architecture

You can use any of the supported operating systems, and the compatible architecture can be selected by specifying a value for architecture input variable. Values are x86, x64, arm, arm64, amd64 (not all of the architectures are available on all platforms).

jobs:
  build:
    runs-on: ubuntu-latest
    name: Go sample
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version: '18'
          architecture: 'amd64' # optional, x64 or x86. If not specified, x64 will be used by default