From 2f5755bd367420833d742d4b375cd102442ba4db Mon Sep 17 00:00:00 2001 From: panticmilos Date: Mon, 8 Aug 2022 12:22:05 +0200 Subject: [PATCH] Expand advanced documentation --- docs/adrs/0001-architecture.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/adrs/0001-architecture.md diff --git a/docs/adrs/0001-architecture.md b/docs/adrs/0001-architecture.md new file mode 100644 index 0000000..74e03a7 --- /dev/null +++ b/docs/adrs/0001-architecture.md @@ -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 +``` \ No newline at end of file