Switch from x/crypto/openpgp to ProtonMail/go-crypto #1923
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
name: install_script | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
vm: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install latest version | |
run: | | |
./install_linux.sh | |
tflint -v | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install specific version | |
env: | |
TFLINT_VERSION: v0.15.0 | |
run: | | |
./install_linux.sh | |
tflint -v | |
- name: Install to custom path | |
run: | | |
mkdir "$TFLINT_INSTALL_PATH" | |
./install_linux.sh | |
"$TFLINT_INSTALL_PATH/tflint" -v | |
env: | |
TFLINT_INSTALL_PATH: ${{ github.workspace }}/install-path | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
shell: bash | |
container: | |
runs-on: ubuntu-latest | |
container: | |
image: hashicorp/terraform | |
options: --user 0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
apk add bash curl curl-dev unzip | |
- name: Install latest version | |
run: | | |
./install_linux.sh | |
tflint -v | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install specific version | |
env: | |
TFLINT_VERSION: v0.15.0 | |
run: | | |
./install_linux.sh | |
tflint -v |