mirror of
https://github.com/actions/setup-go.git
synced 2025-04-24 09:52:15 +00:00
Expand advanced documentation
This commit is contained in:
parent
2c62681dc9
commit
2f5755bd36
1 changed files with 16 additions and 0 deletions
16
docs/adrs/0001-architecture.md
Normal file
16
docs/adrs/0001-architecture.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
## Architecture
|
||||||
|
|
||||||
|
You can use any of the [supported operating systems](https://docs.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners), and the compatible `architecture` can be selected using `architecture`. Values are `x86`, `x64`, `arm`, `arm64`, `amd64` (not all of the architectures are available on all platforms).
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
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
|
||||||
|
```
|
Loading…
Add table
Reference in a new issue