Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
starting v2 and proxy support
  • Loading branch information
Bryan MacFarlane committed Feb 9, 2020
1 parent 9fbc767 commit 4282769
Show file tree
Hide file tree
Showing 191 changed files with 5,338 additions and 14,559 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/versions.yml
@@ -0,0 +1,29 @@
name: go-versions
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
run:
name: Go
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
version: [1.13, 1.12.9]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: setup-go ${{ matrix.version }}
uses: ./
with:
go-version: ${{ matrix.version}}

- name: go version
run: go version
20 changes: 14 additions & 6 deletions .github/workflows/workflow.yml
@@ -1,5 +1,13 @@
name: Main workflow
on: [push]
name: build-test
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
run:
name: Run
Expand All @@ -9,12 +17,12 @@ jobs:
operating-system: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v2

- name: Set Node.js 10.x
uses: actions/setup-node@master
- name: Setup node 12
uses: actions/setup-node@v1
with:
version: 10.x
node-version: 12

- name: npm install
run: npm install
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
@@ -1,6 +1,5 @@
# Explicitly not ignoring node_modules so that they are included in package downloaded by runner
!node_modules/
__tests__/runner/*
node_modules/
lib

# Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs
Expand Down
76 changes: 76 additions & 0 deletions CONDUCT
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at opensource@github.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
12 changes: 9 additions & 3 deletions README.md
@@ -1,7 +1,9 @@
# setup-go

<p align="left">
<a href="https://github.com/actions/setup-go"><img alt="GitHub Actions status" src="https://github.com/actions/setup-go/workflows/Main%20workflow/badge.svg"></a>
<a href="https://github.com/actions/setup-go/actions"><img alt="GitHub Actions status" src="https://github.com/actions/setup-go/workflows/build-test/badge.svg"></a>

<a href="https://github.com/actions/setup-go/actions"><img alt="versions status" src="https://github.com/actions/setup-go/workflows/go-versions/badge.svg"></a>
</p>

This action sets up a go environment for use in actions by:
Expand Down Expand Up @@ -30,10 +32,10 @@ jobs:
runs-on: ubuntu-16.04
strategy:
matrix:
go: [ '1.8', '1.9.3', '1.10.x' ]
go: [ '1.13', '1.12' ]
name: Go ${{ matrix.go }} sample
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Setup go
uses: actions/setup-go@v1
with:
Expand All @@ -48,3 +50,7 @@ The scripts and documentation in this project are released under the [MIT Licens
# Contributions

Contributions are welcome! See [Contributor's Guide](docs/contributors.md)

## Code of Conduct

:wave: Be nice. See [our code of conduct](CONDUCT)
126 changes: 0 additions & 126 deletions __tests__/installer.test.ts

This file was deleted.

0 comments on commit 4282769

Please sign in to comment.